You are not logged in.
Pages: 1
Hi,
I'm mounting a dir on a web server locally and want that if I create a new folder of file that the group is set to www-data. So I went on the server, did "id -u www-data" and the output was 33.
Then I did: sshfs -o gid=33,IdentityFile=foo user@server:path mnt/foo
but if I cd into mnt/foo and create a new file/folder, it defaults to the default [default is id -a].
What am I doing wrong? How can I debug this?
Edit: it works fine for another server...
Last edited by balance (2017-03-28 18:40:39)
Offline
Offline
if I do id -g www-data I get 33. if I do id -u i get 33. On both servers.
Offline
"-o sshfs_debug", compare "mount" output for both sshfs mounts
Offline
Pages: 1