Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Links SQL - Fileman

Quote Reply
Links SQL - Fileman
Hello,

I have Links SQL + Fileman and can browse all my directories with fileman.

Unfortunately I have some of my files on my server which belongs to root (owner = root)
and I cannot edit+save those files.

What should I change in the fileman script in order to have access and root privileges to
change those files ?

Thanks a lot for your comments.

Cheers!
Quote Reply
Re: [factures] Links SQL - Fileman In reply to
Hello,

Fileman belongs to the user who installed the program, or iunh my case with mod_perl, to the user from which apache belongs.

It's not recommendable to set fileman to root.
(security)
Is it possible to make the files you wish to edit, part of the user you've installed fileman?
Quote Reply
Re: [factures] Links SQL - Fileman In reply to
How about CHOWN'ing the files to a user that can have access to those files?

chown -R youruser:group *

(from SSH, if you have root access).

The problem you are having has been around for years (ever since I can remember). It can be got around by getting something like SuEXEC installed, but a lot of host's don't like doing this, as it requires a little more security in other areas. It basically lets your scripts run as the same user as your FTP user. This means you rarely (never?) have to CHOWN files over to your user, unless they physically logged into your account as root, and created/uploaded the file =)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Links SQL - Fileman In reply to
Thank to both of you.

I will try to do that from home tonight (I am at office and therefore cannot access from here..)

Cheers

Steve