Public bug reported:

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.


If I do this from the command line without using nautilus it works correctly. 
example:

$> cp -r /home/user/dir2 /home/user/test/.
$> ls -l test

drwxrwsr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:09 dir1
drwxrwsr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:12 dir2

this way it works


Any more this happens?
Since I can not open an issue, I do it here.

Best Regards

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Package changed: ubuntu => nautilus (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1812818

Title:
  Nautilus is not respecting the SGID when it copies directories

Status in nautilus package in Ubuntu:
  New

Bug description:
  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.

  
  If I do this from the command line without using nautilus it works correctly. 
example:

  $> cp -r /home/user/dir2 /home/user/test/.
  $> ls -l test

  drwxrwsr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:09 dir1
  drwxrwsr-x 2 miguel.rodriguez miguel.rodriguez 4096 ene 21 17:12 dir2

  this way it works

  
  Any more this happens?
  Since I can not open an issue, I do it here.

  Best Regards

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1812818/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to