Login | Register
ID #1003

File / Folder Permissions Show drw-rwSr-- :: PHP CHMOD Fails and Created Folders Aren't Writable

drw-rwSr-- Weird Permissions

 

If you see permissions on files and folders within the /var/www/vhosts directory as drw-rwSr-- when you run an "ls" command or are trying to upload files via FTP, you've most likely upgraded from the original EHCP to EHCP Force. 

 

One step I initially forgot to include in the upgrade instructions is to run the following commands:

sudo chown vsftpd:www-data -R /var/www/vhosts/
sudo chmod 0755 -R /var/www/vhosts/

 

The Apache2 user changed in the EHCP Force version, so we need to update the vhosts ownership recursively! This should fix all of your problems and directories should no longer show up as drw-rwSr--.

Tags: -

Related entries:

You cannot comment on this entry