Bug 492675 - Nautilus does not respect secondary group permissions when copying files
Summary: Nautilus does not respect secondary group permissions when copying files
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus
Version: 10
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-27 23:37 UTC by Jim Harris
Modified: 2015-03-03 22:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-18 09:07:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jim Harris 2009-03-27 23:37:09 UTC
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):
Nautilus 2.24.2

How reproducible:


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"

Expected Result:
Objects can be created by user "X" in the folder chown'd guest:guest

Actual results:
Attempt to move an object results in a permission error unless the folder is chmod 777 (or 6777, etc.)


Expected results:


Additional info:

Comment 1 Alexander Larsson 2009-03-31 08:50:26 UTC
Thats pretty weird, we don't do any permissions checking, just report the errors the kernel gives.

Comment 2 Alexander Larsson 2009-03-31 09:11:31 UTC
bug 478430 seems to be a similar issue.

Comment 3 Alexander Larsson 2009-04-02 13:10:54 UTC
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.)

Comment 4 Alexander Larsson 2009-04-02 13:29:01 UTC
What exactly do you do in nautilus, and exactly what error do you get.

Comment 5 Jim Harris 2009-04-02 16:25:40 UTC
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.

Comment 6 Alexander Larsson 2009-04-03 08:31:29 UTC
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

Comment 7 Bug Zapper 2009-11-18 11:37:37 UTC
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: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Bug Zapper 2009-12-18 09:07:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.