UID Permission Question
I have a file that I want to allow other users to read, only if their user’s ID is less than 1000. How would I do this?
|
UIDs in the POSIX permission system are scalar values, not ranges. Same for file ACLs. There is no concept of rules like "UID<1000".
To solve your problem, you could add all users with UID<1000 to a particular group and give that group read permission via the normal POSIX scheme or ACLs. |
Is the POSIX permission system the same as Linux?
|
Quote:
|
All times are GMT -5. The time now is 01:03 AM. |