Root SSH/SFTP Always 777

Posted by Fluidbyte on Server Fault See other posts from Server Fault or by Fluidbyte
Published on 2012-10-14T21:24:11Z Indexed on 2012/10/14 21:39 UTC
Read the original article Hit count: 217

Filed under:
|
|

I have an Ubuntu serve that I'm connecting to via SFTP (and also an SSHFS mount locally). When I move a file to the server via the mount I need it to have permissions set to 777.

I've added umask 000 to the .bashrc file at the advice of a friend and it doesn't appear to be working.

Basically I'm working completely in a restricted folder and need the root to always leave the permissions open - wether I'm SSH'ed in or moving files to the server.

© Server Fault or respective owner

Related posts about linux

Related posts about permissions