#603854 "Apply Permissions to Enclosed Files" does not set group owner

Package:
nautilus
Source:
nautilus
Description:
file manager and graphical shell for GNOME
Submitter:
macarthur
Date:
2015-06-25 16:54:17 UTC
Severity:
important
#603854#5
Date:
2010-11-17 21:22:18 UTC
From:
To:
when attempting to apply permisions to all enclosed files and folders in
nautilus it doesn't apply said changes to any of the enclosed files at all
really whenever it is set to 'owner=root'. This happens when i'm copying data
from an old hdd onto a new one and so on and so forth, when this happens the
files still retain their 'root=owner, group=root' status even though i have
clicked on the folder they are contained in and set it to owner=macarthur
group=macarthur.

they still contain the same things and this problem has been in nautilus in
5.05 till now in squeeze with the latest package as of righting this. Having to
manually go in and change several thousand files is not my idea of a fun time,
so this bug is extremely annoying at the least.

#603854#10
Date:
2011-08-28 09:11:51 UTC
From:
To:
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

#603854#21
Date:
2011-08-28 09:11:51 UTC
From:
To:
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