Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 29. marec 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpWebFileManager  »  Fórum  »  User that it runs as

phpWebFileManager General     User that it runs as
Odoslať novú tému   Odpovedať na tému    
 
jfeniello     Založený: 24.02.2004   Príspevky: 1  
Príspevok Zaslal: 2004-02-24 22:31
Návrat hore  Odpovedať s citátom     

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     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-02-24 22:45
Návrat hore  Odpovedať s citátom     

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

i'm unsure about changing owner.

 
nepto     Založený: 06.01.2003   Príspevky: 381   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2004-02-27 09:37
Návrat hore  Odpovedať s citátom     

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 .
 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov