The trouble with dropping groups
The trouble with dropping groups
Posted Nov 25, 2014 12:45 UTC (Tue) by Jandar (subscriber, #85683)In reply to: The trouble with dropping groups by ortalo
Parent article: The trouble with dropping groups
Posted Dec 6, 2014 0:46 UTC (Sat)
by Wol (subscriber, #4433)
[Link] (3 responses)
The system I am used to is simple.
If user acl then grant user rights else if group acl(s) then grant sum of group rights else grant default rights.
Okay, I then can't restrict a group of users, but it makes it dead easy for me to control what rights someone has over my project - if I give a user an explicit set of rights then their (possibly unknown to me) group rights are irrelevant.
The problem with adding user and group rights is it prevents an administrator delegating to a project manager the ability to manage his projects. Okay, the best way is proper group management but if the project manager doesn't know (and he may well not have access to) the list of groups his staff belong to, then my version gives him the ability to explicitly control access at the user level.
Cheers,
Posted Dec 6, 2014 20:05 UTC (Sat)
by bfields (subscriber, #19510)
[Link] (2 responses)
That's more or less what the "posix" acls supported by most linux filesystems do. (See the "ACCESS CHECK ALGORITHM" section in the acl(5) man page for details.) They don't have the explicit deny aces that windows acls do.
Posted Dec 6, 2014 20:57 UTC (Sat)
by Cyberax (✭ supporter ✭, #52523)
[Link]
> The ACL entries are looked at in the following order: owner, named users, (owning or named) groups, others. Only a single entry determines access. Step two checks if the matching entry contains sufficient permissions.
This can be used (and often is!) for effectively negative ACLs.
Posted Dec 6, 2014 22:44 UTC (Sat)
by rleigh (guest, #14622)
[Link]
At least when using ZFS/NFS4 with FreeBSD, it appears to have fully native support for NFS4 ACLs, while Linux doesn't appear to have support there at the moment (when testing using an NFS4 ZFS export). Are there any plans for support for NFS4 ACLs with Linux on native and remote filesystems?
The trouble with dropping groups
Wol
The trouble with dropping groups
If user acl then grant user rights else if group acl(s) then grant sum of group rights else grant default rights.
The trouble with dropping groups
(c) http://users.suse.com/~agruen/acl/linux-acls/online/main....
The trouble with dropping groups