Ftp uploads on freebsd are owned by user nobody

From CPanelDirect
Jump to: navigation, search

On freebsd ftp uploads may be owned by group nobody. This happens if the public_html is set to username:nobody permissions. The first solution is to turn off "file protect" on the easy apache compile. That is the feature to prevent other users from reading web roots. You may not want to due this if you do not have Suphp.

In fact the only time this is really an issue in most cases is with Suphp which will fail due to the gid check. To have it run keeping file protect on do the following:

Edit: /opt/suphp/etc/suphp.conf

Change:
paranoid_gid_check=true
To
paranoid_gid_check=false

There is not a need to restart apache.


Notes

http://forums.cpanel.net/showthread.php?t=73097&highlight=ftp+ownership

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox