Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I want to use my server as backup server and let other users let their data backup to it aswell. I was thinking of using rsync instead of FTP (due to the obvious reasons), however how would I prevent user A to be browsing user B's files? If using rsync over SSH (preferable method due to encryption) then the user has to be CHrooted probably.

So, how can I set up a safe environment so users cannot browse eachother's files?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Even without chroot there's this little thing called file permissions.

Just make sure user home directories (/home/user or wherever they are located) have 0700, or u+rwx,go-rwx permissions, so they can't enter each other's directories at all.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.