Paul Northug <[email protected]> writes: > 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. > > paul@htpc0:~/test$ ls -al > > drwxrwsrwx 9 htpcuser htpcgroup 4096 2011-10-08 13:41 . > drwxrwsrwx 14 htpcuser htpcgroup 4096 2011-10-08 05:54 .. > > paul@htpc0:~/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?
This is likely a mount option of sshfs (don't know). For new files, Tramp uses the primary group of the user on the remote host. Similar as applying "touch test" as user "paul" on the remote host. > Thanks, > Paul. Best reegards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
