[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
honoring gid of a directory for new file
From: |
Paul Northug |
Subject: |
honoring gid of a directory for new file |
Date: |
Sat, 8 Oct 2011 21:56:09 +0200 |
When tramp is editing a new file over ssh, it does not seem to honor
the group id of the containing directory.
Here the directory is setgid to htpcgroup.
address@hidden:~/test$ ls -al
drwxrwsrwx 9 htpcuser htpcgroup 4096 2011-10-08 13:41 .
drwxrwsrwx 14 htpcuser htpcgroup 4096 2011-10-08 05:54 ..
address@hidden:~/test$ touch test; ls -al
drwxrwsrwx 9 htpcuser htpcgroup 4096 2011-10-08 13:41 .
drwxrwsrwx 14 htpcuser htpcgroup 4096 2011-10-08 05:54 ..
-rw-rw-r-- 1 paul htpcgroup 0 2011-10-08 13:42 test
But a new file created with tramp, test.tramp:
drwxrwsrwx 9 htpcuser htpcgroup 4096 2011-10-08 13:41 .
drwxrwsrwx 14 htpcuser htpcgroup 4096 2011-10-08 05:54 ..
-rw-rw-r-- 1 paul htpcgroup 0 2011-10-08 13:42 test
-rw-rw-r-- 1 paul paul 3 2011-10-08 07:56 test.tramp
sshfs preserves the group id. Can this behavior be modified?
Thanks,
Paul.
- honoring gid of a directory for new file,
Paul Northug <=