Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, April 20, 2024
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpWebFileManager  »  Forum  »  User that it runs as

phpWebFileManager General     User that it runs as
Post new topic   Reply to topic    
 
jfeniello     Joined: 24 Feb 2004   Posts: 1  
Post Posted: 2004-02-24 22:31
Back to top  Reply with quote     

First, great little app, thanks.

I have it installed on my intranet. For the bulk upload workaround, i created a user, "filemanager", who i allow users to log into and ftp files to, which points to the phpWebFileManager location.

Ftp'd files are owned by "filemanager" and phpWebFileManager files are owned by wwwrun, which is what apache runs as. People can see files via phpWebFM, but can't rename, delete, etc because of permissions.

Is it possible to have phpWebFM run as a different user than apache is running as?

Any other ideas?

Thanks,
-jim

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2004-02-24 22:45
Back to top  Reply with quote     

as a workaround you can change the chmod value of the files ($fm_cfg[mode][file]).

i'm unsure about changing owner.

 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2004-02-27 09:37
Back to top  Reply with quote     

It is a system issue under which user phpWebFileManager runs. Because phpWebFileManager is a standard web application, you have to change whole Apache user in order to change user under which phpWebFileManager runs.

Another solution: add new FTP support into phpWebFileManager. Than phpWebFileManager will make all its file operations via FTP, what will be in factr under desired user.

However such FTP connection can be really unsecure when it is done to the remote host (password can be easily sniffed and so on).

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov