Red Hat Bugzilla – Bug 492675
Nautilus does not respect secondary group permissions when copying files
Last modified: 2015-03-03 17:40:09 EST
Description of problem:
When copying a file from a folder owned by user "X", to a folder owned by user "Y", if user "X" is also a member of group "Y", and the folder permissions are "775" the file is not allowed to be copied with a "permission denied" error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a standard user "X" ("X" = whomever you want)
2. Create a standard user "guest", group "guest"
3. Create a folder owned by "guest:guest"
4. Make sure user "X" is also a member of group "guest" (use the "users and groups tool to check/set this)
5. Chmod this folder "6775"
6. Attempt to move a folder, file, or whatever from the "X" desktop to the folder owned by "guest"
Objects can be created by user "X" in the folder chown'd guest:guest
Attempt to move an object results in a permission error unless the folder is chmod 777 (or 6777, etc.)
Thats pretty weird, we don't do any permissions checking, just report the errors the kernel gives.
bug 478430 seems to be a similar issue.
I don't see this:
ls -ld /tmp/guest-folder/
drwsrwsr-x 3 guest guest 4096 2009-04-02 15:06 /tmp/guest-folder/
But i can still dnd stuff from the desktop to that folder. (Although i had to re-login after adding myself to the group.)
What exactly do you do in nautilus, and exactly what error do you get.
On my system, I have a RAID-10 array (4 drives) mounted on /raid/Storage3.
The array contains one shared (Samba) folder "Public", which contains a host of other folders.
Public is (was) chmod 6775
All sub-folders were chmod -R 6775
Public (and subfolders) were chown guest:guest
I have my normal login user "Jim" (UID/GID 500) set as "guest" as a secondary group.
I have a "guest" user (UID/GID 501) set to have no login shell (as it is not a "normal" login, but exists ONLY for SMB).
I try to copy something from my desktop to the "Public" folder, or one of the subfolders.
I get a "Permission Denied" error.
And to copy you do a drag and drop from a nautilus window to another nautilus window?
Oh, and are you copying to the local version of the Public folder, or to the samba mount of the same folder?
Can you try
gvfs-copy ~/Desktop/some-file /raid/Storage3/Public
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.