Index
» Projects
» phpWebFileManager
» Forum
» User that it runs as |
|
jfeniello
Joined: 24 Feb 2004
Posts: 1
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
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)
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
|
|
|
|