Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

If the encrypted directory is mounted already, then find out what user your ftp daemon is running as, and then run chgrp <group> /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

Your Answer

 
discard

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