This is a discussion on Permissions issue HTTP<->FTP within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I was wondering how ISP resolve the following problem: a customer receives an FTP login with read/write access ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I was wondering how ISP resolve the following problem: a customer receives an FTP login with read/write access to his httpdocs directory. Now if the customer installs let's say Joomla, he will upload the base Joomla installation files and then let Joomla through the web do the rest. This means that Joomla will be writting files in the httpdocs directory of the customer. Unfortunately Joomla will write these files with the account (User + Group parameter in httpd.conf) that the web server is running on. So that would be www-data on Debian for example. Now one problem already arises: customer wants to delete the files created by Joomla: impossible they are owned by www-data... There are many other problems arising with this kind of configuration... So how can I setup Apache somehow to deal with this problem ? I guess that SuexecUserGroup won't help me much as this is only for CGI programs... Thanks for the help Regards |
|
|||
|
"syn_nospam_uw" <syn_nospam_uw@hotmail.com> wrote in message
news:c040$481f28d9$d9a276b1$15400@news.hispeed.ch. .. > I was wondering how ISP resolve the following problem: a customer > receives an FTP login with read/write access to his httpdocs directory. > Now if the customer installs let's say Joomla, he will upload the base > Joomla installation files and then let Joomla through the web do the > rest. This means that Joomla will be writting files in the httpdocs > directory of the customer. Unfortunately Joomla will write these files > with the account (User + Group parameter in httpd.conf) that the web > server is running on. So that would be www-data on Debian for example. > > Now one problem already arises: customer wants to delete the files > created by Joomla: impossible they are owned by www-data... > > There are many other problems arising with this kind of configuration... > So how can I setup Apache somehow to deal with this problem ? I guess > that SuexecUserGroup won't help me much as this is only for CGI programs... I don't see how this is Apache's problem. |
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 syn_nospam_uw wrote: > Hello, > > I was wondering how ISP resolve the following problem: a customer > receives an FTP login with read/write access to his httpdocs directory. > Now if the customer installs let's say Joomla, he will upload the base > Joomla installation files and then let Joomla through the web do the > rest. This means that Joomla will be writting files in the httpdocs > directory of the customer. Unfortunately Joomla will write these files > with the account (User + Group parameter in httpd.conf) that the web > server is running on. So that would be www-data on Debian for example. > > Now one problem already arises: customer wants to delete the files > created by Joomla: impossible they are owned by www-data... > > There are many other problems arising with this kind of configuration... > So how can I setup Apache somehow to deal with this problem ? I guess > that SuexecUserGroup won't help me much as this is only for CGI programs... > > Thanks for the help > Regards > http://httpd.apache.org/docs/2.0/mod/worker.html Looks kinda useful, though I have not really read into it much. - -- Brendan Gillatt | GPG Key: 0xBF6A0D94 brendan {a} brendangillatt (dot) co (dot) uk http://www.brendangillatt.co.uk -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFIILHIuv4tpb9qDZQRAlmhAJ98wLrhn5NCoZvPE0G20P CDGF1C1QCeL+Tc +HaIYVsa1n017LZ2HUl628w= =JvTU -----END PGP SIGNATURE----- |
| Thread Tools | |
| Display Modes | |
|
|