Gossamer Forum
Home : Products : Others : Fileman :

root problem

Quote Reply
root problem
I just installed fileman and am having a slight problem.

Durring the install if I were to leave all the paths alone it would setup my root directory as the cgi-bin. If I were to change the root path to my htdocs directory, it would give the error "can not write to directory". So I changed the permissions for that directory to 777 while I ran the install, and it installed just fine. I changed it back to 755.

Now I can run fileman and it's root directory is correct, but I am unable to edit any files or create any directories because I do not have write access to anything. I think this is because the "owner" of all the fileman files is "apache" rather then my username.

How can I correct this so that logging into fileman is enough to give me write access to my files without having to CHMOD everything to 777?

Thanks in advace for the help

Shawn
Quote Reply
Re: [Slightlynorth] root problem In reply to
Hi Shawn,

I think you should use CGIWrap which will run your scripts under your own userid access, rather than as the http daemon user ( usually 'nobody'). Have a look at the link below for more information:

http://www.unixtools.org/cgiwrap/

TheStone.

B.