Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- There is a directory where our code resides: /home/dev
- The permissions on this directory (and all sub-directories) are currently 755 kosta:kosta
- The permissions on files contained inside are 644 kosta:kosta
- Now I want to be able to create a SFTP connection into the server, which opens a "jailed" (chroot) sftp session in /home/dev
- From here I want to be able to create / read / update / delete files and directories inside this directory (all via my ftp client, Filezilla).
- This Filezilla sftp session must not allow anything else outside of this directory to be read.
Add Comment
Please, Sign In to add comment