lundi 12 janvier 2015

Create folder as Apache with user add Centos


I have a windows drive that's mounted onto my Linux server. PHP and Apache web server needs to create folders on the windows drive with (mkdir) but I get permission error.


I have mounted my windows network shared drive as apache:root. I want to be able to login as the user apache and create a folder.


Is there a command where I can issue


mkdir -asapacheuser folder? when I'm logged in as any user on my linux box to see if the mounted drive lets me create folders?


My webserver user is apache which is httpd.



Aucun commentaire:

Enregistrer un commentaire