GNOME Bugzilla – Bug 301982
Should not rely on file mode to know read/write permissions
Last modified: 2005-04-25 22:31:33 UTC
Currently, Nautilus tries to calculate the permissions a user will have on the file, probably by matching the file's mode mask and uid/gid with the current user. Instead, Nautilus should use access(2), since it takes into account other factors which may give the user a permission, such as ACLs. Currently, when an ACL allows the user to modify the directory, Nautilus will still grey-out and disable the relevant options (e.g. Rename option).
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. ACL support is bug 62817 *** This bug has been marked as a duplicate of 40990 ***
Bug 62817 says "It would be nice if Nautilus provided some mechanism for viewing and editing ACLs." I'm not talking about giving any UI for ACLs or refering to them in any way. The filesystem might have other methods to give or take access, such as SELinxu or Linux Trustees. I'm merely saying we should rely on standard access(2) syscall rather than mode calculations.
Oh, sorry, didn't notice the bug you duped it to. Thanks and sorry.