Portal Home > Knowledgebase > Articles Database > nobody folders and delete
nobody folders and delete
Posted by joelin, 06-29-2008, 12:54 PM |
Hi,
when people run a forum and the template and forumdate folders may created some files with nobody permission,
by the way,
the user could not delete them by the user themself,
and need admin login as root with ssh to delete those,
doe any way to fix the problem?
and let the files permission can run as the user instead of nobody.
thnaks a lot.
ps.the server is centos with cpanel and suexec.
|
Posted by activelobby4u, 06-29-2008, 01:06 PM |
you could probably run a chown command in cron . its just a work around
|
Posted by joelin, 06-29-2008, 01:20 PM |
Hi,
do you mean run the chown cron for particular folders?
thanks
|
Posted by activelobby4u, 06-29-2008, 01:38 PM |
yes ..absolutely
|
Posted by joelin, 06-29-2008, 01:43 PM |
Hi,
is any other method?
because if there are many websites and folders,
it looks likely it is difficult to do it?
thanks
|
Posted by cPanelDavidG, 06-30-2008, 01:33 PM |
Are you running PHP as CGI? If not, you may want to consider also running SuPHP.
It's a file OWNERSHIP issue. That means, since the file isn't owned by the user, cPanel/WHM blocks the user from manipulating that file. Changing the ownership to the user may work, but only if the script itself no longer runs as user nobody. Otherwise you may break the website for that account.
|
Add to Favourites Print this Article
Also Read