2009-04-21 15:40:43 |
sylvain just |
bug |
|
|
added bug |
2009-04-21 15:44:48 |
sylvain just |
description |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / two local partition of a same hard drive / two directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to user gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / two local partition of a same hard drive / two directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to use gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
|
2009-04-21 16:42:29 |
Sebastien Bacher |
nautilus (Ubuntu): importance |
Undecided |
Low |
|
2009-04-21 16:42:29 |
Sebastien Bacher |
nautilus (Ubuntu): assignee |
|
Ubuntu Desktop Bugs (desktop-bugs) |
|
2009-04-21 16:43:01 |
Sebastien Bacher |
summary |
nautilus drag'n drop / copy paste does not respect setgid bit permissions / owner group |
copies don't respect setuid and setgid settings |
|
2009-04-22 07:23:12 |
sylvain just |
description |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / two local partition of a same hard drive / two directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to use gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / to local partition of a same hard drive / to directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to use gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
|
2009-04-22 07:24:00 |
sylvain just |
description |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / to local partition of a same hard drive / to directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to use gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
Binary package hint: nautilus
Release: 8.10
I'am not sure that nautilus is only one package implied. My nautilus version is 1:2.24.1-0ubuntu1
Description of problem :
I have 2 users : user-a and user-b (with respective first group: groups group-a and group-b)
they are both in third group named common-group.
Their own HomeDirectory are : (ls -l /home/user*)
drwxrwx--- 5 user-a group-a 4096 2009-04-20 14:00 user-a
drwxrwx--- 5 user-b group-b 4096 2009-04-20 14:02 user-b
and umask 007
The common directory : (ls -l /home/common*)
drwxrws--- 2 root common-group 4096 2009-04-20 14:03 common-directory
(chmod 2770)
So, when I copy or move some files or directories from the HomeDirectories with CLI (cp or mv), setgid bit is preserved and owner group too.
But if I copy-paste or drag'n drop from nautilus, directories or files moved/copied keep old owner group and old permissions (without setgid bit).
This Problem is same for a deported or local filesystem (nfs / two local partition of a same hard drive / two directories of a same parititon / a local parititon and an usb key).
Exemple:
~$ ls -l /home/*
/home/common-directory/:
total 0
/home/user-a/:
total 4
drwxrwx--- 2 user-a group-a 4096 2009-04-21 17:07 user-a.dir
-rw-rw---- 1 user-a group-a 0 2009-04-21 17:08 user-a.file
/home/user-b/:
total 4
drwxrwx--- 2 user-b group-b 4096 2009-04-21 17:07 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:07 user-b.file
~$ su user-a
user-a: ~$ umask
0007
user-a: ~$ cp -rv * ../common-directory/
`user-a.dir' -> `../common-directory/user-a.dir'
`user-a.file' -> `../common-directory/user-a.file'
user-a: ~$ ls -l ../common-directory/
total 4
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
So when I'm log in gnome with User "user-b" and I copy paste through nautilus the files in my home directory, the result is bellow :
user-a: ~$ ls -l ../common-directory/
total 8
drwxrws--- 2 user-a common-group 4096 2009-04-21 17:15 user-a.dir
-rw-rw---- 1 user-a common-group 0 2009-04-21 17:15 user-a.file
drwxrwx--- 2 user-b common-group 4096 2009-04-21 17:24 user-b.dir
-rw-rw---- 1 user-b group-b 0 2009-04-21 17:24 user-b.file
Then, owner group isn't good for file copied from nautilus interface and setgid bit isn't present for direcory...
NB: I tried to use gvfs-copy command. Result is good for file (good owner group, good permissions) but with directory, error message is :
"Impossible to copy a repertory recursively"
Thanks in advance for fix :) |
|
2009-04-22 07:53:59 |
sylvain just |
bug watch added |
|
http://bugzilla.gnome.org/show_bug.cgi?id=579806 |
|
2009-04-22 08:06:17 |
Sebastien Bacher |
nautilus (Ubuntu): status |
New |
Triaged |
|
2009-04-22 08:06:43 |
Sebastien Bacher |
bug task added |
|
nautilus |
|
2009-04-22 08:15:36 |
Bug Watch Updater |
nautilus: status |
Unknown |
New |
|
2010-09-14 23:24:28 |
Bug Watch Updater |
nautilus: importance |
Unknown |
Medium |
|
2019-01-23 09:04:46 |
Isaac |
bug |
|
|
added subscriber Isaac |
2019-02-06 12:16:11 |
Sebastien Bacher |
nautilus (Ubuntu): status |
Triaged |
Incomplete |
|
2019-02-07 11:09:03 |
Sebastien Bacher |
nautilus (Ubuntu): status |
Incomplete |
Triaged |
|