Bug#603854: nautilus: apply permisions enclosed doesn't work when root

Timo Juhani Lindfors timo.lindfors at iki.fi
Sun Aug 28 09:11:51 UTC 2011


package nautilus
retitle 603854 "Apply Permissions to Enclosed Files" does not set group owner
found 603854 2.30.1-2squeeze1
forwarded 603854 https://bugzilla.gnome.org/show_bug.cgi?id=371025
tags 603854 upstream
thanks

Hi,

I can confirm a more general problem. This does not work even as a
normal user:

1) mkdir -p Desktop/a/b/c/d/e
2) right-click a -> Permissions
3) set Others -> Folder access to "Create and delete files"
4) set Group to "video"
5) hit "Apply Permissions to Enclosed Files"

Expected results:
5) group of all folders is set to "video"

Actual results:
5) 

$ find Desktop/a -printf "%u %g %M %p\n"
lindi video drwxr-xrwx Desktop/a
lindi lindi drwxr-xrwx Desktop/a/b
lindi lindi drwxr-xrwx Desktop/a/b/c
lindi lindi drwxr-xrwx Desktop/a/b/c/d
lindi lindi drwxr-xrwx Desktop/a/b/c/d/e

More info:
1) This is upstream bug

https://bugzilla.gnome.org/show_bug.cgi?id=371025

2) strace shows that nautilus indeed only calls chmod() and does not even
attempt chown():

15605 chmod("/home/lindi/Desktop/a/b", 040757) = 0
15605 chmod("/home/lindi/Desktop/a/b/c", 040757) = 0
15605 chmod("/home/lindi/Desktop/a/b/c/d", 040757) = 0
15605 chmod("/home/lindi/Desktop/a/b/c/d/e", 040757) = 0

-Timo






More information about the pkg-gnome-maintainers mailing list