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

I've set up an encrypted directory with dm-crypt. how can I make it world writeable (for my ftp server)?

share|improve this question
add comment

1 Answer 1

If the encrypted directory is mounted already, then find out what user your ftp daemon is running as, and then run 'chgrp /path/to/dir' and then 'chmod g+w /path/to/dir'.

An alternative is to specify the uid or gid and permissions in the mount options, specified in /etc/fstab.

share|improve this answer
add comment

Your Answer

 
discard

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