root permissions applied to new folder
Brought to you by:
lee_herron
Hi,
When i use the make new folder funcion it sets the
owner to the root account of the linux server? (well
thats what it looks like when i check using ftp client)
I am able to save files to this folder but can not del or
mv them out. I can create a folder using ftp and set the
correct permissions for it, which works fine, but I cant
change the owner or permission on the folder that was
created using SFM.
Doing it this way also means that i have to
disable '$MakeDirOn'
I dont have access to root as it is a hosted site.
any help would be appreciated.
thanks
Wes
Logged In: YES
user_id=392382
It appears the webserver at your host is running as root
(and not using something like suEXEC). This means the sf.php
script also runs as root. To do anything you can't do with
sf.php itself, you'll probably have to do by uploading a php
script that does it and executing it.
Note that your hoster practically gave you root by allowing
you to execute php files as root. Not a very good thing to do.