OK help me figure this out.
I have 2 users on my Linux system that are part of the BOTH group "web users".
one is the www data used by the web server, and php-cgi is my one ftp user
when I upload files via ftp, they are set to 775 for dirs and 664 for files, when I run a script on the server (just like the ftp user group) to delete this directory and files inside: unlink for files work fine, but rmdir command does not work, returning permission denied !? And yes, the directory is deleted after release.
why is this 775 meaning that the group user can delete it in the same way as 664 for files.
Thank!
source
share