DebugQ - De:Bug:Q

Go Back   DebugQ - De:Bug:Q > DebugQ > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Unread 04-09-2014, 08:13 AM
Debugger Debugger is offline
Join Date: Oct 2007
Posts: 933
Default Change incorrect ownership

Change incorrect ownership:

find /home/user/public_html/ -user nobody

To automatically correct ownership:

find /home/user/public_html/ -user nobody -exec chown user:user {} \;

You'll also want to make sure directories are 755 when using SuPHP. Similar code to fix this:

find /home/user/public_html/ -type d -perm 777 -exec chmod 0755 {} \;


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

All times are GMT. The time now is 06:14 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
DebugQ - Debug Quote - De:Bug:Q