Nils Goroll wrote:
Hi,

I just noticed that Mark Shellenbaum has replied to the same question in a thread "ACL not being inherited correctly" on zfs-discuss.

Sorry for the noise.

Out of curiosity, I would still be interested in answers to this question:

  It there a reason why inheritable ACEs are  split always, even if the
  particular chmod call would not require splitting them?

For instance, a mode bit change would never influence n...@owner/@group/@everyone ACEs and even for the @owner/@group/@everyone, one could check if the mode bits are actually changed by the chmod call.

Any group entry could have its permissions modified in some situations (i.e. group has greater permissions than owner). Its true that a user entry wouldn't necessarily need it, but in order to keep the algorithm simpler we just always do the split.

It would be simple enough to exclude user entries from splitting. Feel free to open a bug on this.


Does this make any sense?

Thank you,

Nils
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to