access(2) #1

Closed
opened 2024-12-18 21:33:22 +01:00 by fedir · 1 comment
Owner

So far, it's unclear how the access function has to be implemented, because at the time of the call, the user access control decision is not yet known.

Possible solutions:

  • Not implement the function - quite a lot of programs don't work properly.
  • Always return -1 - quite a lot of programs refuse to try accessing the filesystem again.
  • Always return F_OK
  • Ask the user, and then remember the decision.
So far, it's unclear how the `access` function has to be implemented, because at the time of the call, the user access control decision is not yet known. Possible solutions: * ~~Not implement the function~~ - quite a lot of programs don't work properly. * ~~Always return `-1`~~ - quite a lot of programs refuse to try accessing the filesystem again. * Always return `F_OK` * Ask the user, and then remember the decision.
fedir added the
bug
enhancement
labels 2024-12-18 21:35:32 +01:00
Author
Owner

Solved by asking the user.

Solved by asking the user.
fedir closed this issue 2025-03-31 13:27:55 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: fedir/ICFS#1
No description provided.