By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,351 Members | 1,239 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,351 IT Pros & Developers. It's quick & easy.

linux file permissions on maildir, apache user

P: n/a
hello everyone,

i have the following problem. I am trying to create maildir
directories on the local filesystem then chmod, chown them to
courier:courier (for courier mail server). the courier mail server
reads and writes on these maildirs on the local filesystem and they
need to have courier:courier ownership. it does not work because the
directories are created with apache:apache ownership and apparently
only root can change ownership. My question is as follows. Is the
only solution to this problem to add the courier user to the apache

thanks so much for your time!
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
This script, which is dangerous !! might work :
system("chown -R courier:courier /your/directory");
system("chmod -R ug+rw /your/directory/");
I precise that I juste discover php, don't mail me to tell : oh you are
crazy, this might causes the server lost. I'm a newbie, but I've been
testing this for running an application wich is not owned by apache, and it
works well

ciAo, Florian
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.