Nautilus is not respecting the SGID when it copies directories
Hi,
Both on ubuntu 16.04 and on ubuntu 18.04 have de same problem
if I have a directory with the SGID activated and within this I create with the nautilus another directory inside, the latter has the SGID.
But if I copy a directory from another place through the nautilus and paste it into the directory with SGID, the copied directory does not have the SGID.
for example:
home directory test:
$> ls -l
drwxr-sr-x 2 myuser mygroup 4096 ene 21 16:47 test
Create a new directorio called "dir1" with nautilus into of test. Result:
$> ls -l test
drwxr-sr-x 2 myuser mygroup 4096 ene 21 17:09 dir1
This is correct.
=========
NOW
=========
if I copy a directory from another place (for example /home/user/dir2) called "dir2" through the nautilus and paste it into the directory "test", the result is:
$> ls -l test
drwxrwsr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:09 dir1
drwxrwxr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:12 dir2
The directory dir2 not have "s" SUID in group user.
Any more this happens?
Since I can not open an issue, I do it here.
Best Regards
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask mirohe for more information if necessary.