When mambo/joomla creates or edits files and folders it changes ownership of the files to its own. That way I cant delete/change any of those files and folders when i use ftp programs unless i set permissions to 777 which I dont like at all.
Is there any way i can change ownership so ftp programs can do their thing?
thanks in advance.
Changing file and folder permission?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- sviftrup
- Joomla! Apprentice
- Posts: 11
- Joined: Fri Sep 02, 2005 11:40 am
- Location: Denmark
- Contact:
Changing file and folder permission?
Last edited by sviftrup on Mon Sep 19, 2005 8:10 am, edited 1 time in total.
SV Consult
- Webprogrammør
- Webprogrammør
- joomlahut
- Joomla! Intern
- Posts: 85
- Joined: Wed Aug 17, 2005 10:11 pm
- Contact:
Re: Changing file and folder permission?
So far there's no resolution to this problem in Mambo, you'll have to ask you host to change the files ownership to your username or run phpsuexec/suexec for apache to create files and folders as user not as apache user.
Actually this should be added to the wishlist as a new feature similar to File/Directory Permissions in global configuration.
Actually this should be added to the wishlist as a new feature similar to File/Directory Permissions in global configuration.
Michael Morris - BuyHTTP Internet Services
www.demoplaza.com : Flash Tutorials For Joomla
www.buyhttp.com : Joomla Hosting Specialists
Free Joomla Professional Installation + Free Joomla Template
www.demoplaza.com : Flash Tutorials For Joomla
www.buyhttp.com : Joomla Hosting Specialists
Free Joomla Professional Installation + Free Joomla Template
- Websmurf
- Joomla! Hero
- Posts: 2230
- Joined: Fri Aug 19, 2005 2:23 pm
- Location: The Netherlands
- Contact:
Re: Changing file and folder permission?
keep in mind that suexec will have large impact on the performance of your server. Especially with large sites, this will cause problems.
Adam van Dongen - Developer
- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl
- Blocklist, ODT Indexer, EasyFAQ, Easy Guestbook, Easy Gallery, YaNC & Redirect -
http://www.joomla-addons.org - http://www.bandhosting.nl
- joomlahut
- Joomla! Intern
- Posts: 85
- Joined: Wed Aug 17, 2005 10:11 pm
- Contact:
Re: Changing file and folder permission?
phpsuexec/suexec are installed on the server hosting mambohut.com and I haven’t noticed any related performance issues
Michael Morris - BuyHTTP Internet Services
www.demoplaza.com : Flash Tutorials For Joomla
www.buyhttp.com : Joomla Hosting Specialists
Free Joomla Professional Installation + Free Joomla Template
www.demoplaza.com : Flash Tutorials For Joomla
www.buyhttp.com : Joomla Hosting Specialists
Free Joomla Professional Installation + Free Joomla Template
- bulldog
- Joomla! Intern
- Posts: 54
- Joined: Mon Aug 29, 2005 4:25 pm
Re: Changing file and folder permission?
Ha! Actually submitted this today as a feature request before reading this post.mambohut wrote: So far there's no resolution to this problem in Mambo, you'll have to ask you host to change the files ownership to your username or run phpsuexec/suexec for apache to create files and folders as user not as apache user.
Actually this should be added to the wishlist as a new feature similar to File/Directory Permissions in global configuration.
Bulldog
- Vince
- Joomla! Enthusiast
- Posts: 143
- Joined: Sun Aug 21, 2005 11:41 pm
- Location: UK
- Contact:
Re: Changing file and folder permission?
As a general rule, running PHP as an Apache module will be faster as the runtime is loaded into memory. However, if you're doing a lot of cgi-based access the phpsuexec may stay loaded in memory anyway, but does use extra resources to run as a cgi module.mambohut wrote: phpsuexec/suexec are installed on the server hosting mambohut.com and I haven’t noticed any related performance issues
The other difference is with webserver permissions. Having PHP as a cgi (phpsuexec) will run under the user's own account. Yes, this means users can more easily manage files as they are 'owned' by them, but it also does carry a risk that websites/personal files are more 'open to exploitation' than under a normal mod_php setup, since the php cgi application has read/write privilages instead of just read-only privileges.
- Vince
www.hostbaron.com - low price Joomla starter packages.
www.SpanishVilla.com - Buy, rent or sell a Spanish property.
www.SpanishVilla.com - Buy, rent or sell a Spanish property.
- dsmflash
- Joomla! Enthusiast
- Posts: 160
- Joined: Sat Nov 15, 2008 5:24 am
Re: Changing file and folder permission?
Vince wrote:As a general rule, running PHP as an Apache module will be faster as the runtime is loaded into memory. However, if you're doing a lot of cgi-based access the phpsuexec may stay loaded in memory anyway, but does use extra resources to run as a cgi module.mambohut wrote: phpsuexec/suexec are installed on the server hosting mambohut.com and I haven’t noticed any related performance issues
The other difference is with webserver permissions. Having PHP as a cgi (phpsuexec) will run under the user's own account. Yes, this means users can more easily manage files as they are 'owned' by them, but it also does carry a risk that websites/personal files are more 'open to exploitation' than under a normal mod_php setup, since the php cgi application has read/write privilages instead of just read-only privileges.
- Vince
actually, cgi is more secure because the Apache module forces you to chmod to 777 for many extensions.