| Joomla! http://forum.joomla.org/ |
|
| Installation and CHMOD and owner http://forum.joomla.org/viewtopic.php?f=35&t=11276 |
Page 1 of 1 |
| Author: | crow [ Sun Oct 09, 2005 3:07 pm ] |
| Post subject: | Installation and CHMOD and owner |
I manualy upload the installation to my webroot folder. I complete installation without problem,everthing working fine, bud here is the thing... ![]() All files uploaded are aslo chown to (user that upload it) and NEW installation of component make apche nobody as owner. So i cant edit normaly the files. I trought all will be as nobody and installed com_mamboxplorer_1.2.1.tar.gz but ofcourse it is chown to nobody owner, and it cant do anything. WHat is problem here why isnt all files chowned to NoBody as suposed (i didn change the permision and so on the page). ANd it is CLEAN installation of Joomla 1.0.2 (only user transfered from old mambo to this new joomla) PLS suggestion. Edit: I try to install it on root subfolder, i upload tar file and extract it with Cpanel File Menager, install in demo detabase, install mamboxplorer and other components. Installation have owner (ftp user owner) and components new installed have "nobody" as owner. I think this was not the "problem" with 1.0.1 installation but i will check in fev hours. thnx |
|
| Author: | pe7er [ Mon Oct 10, 2005 2:36 pm ] |
| Post subject: | Re: Installation and CHMOD and owner |
crow wrote: I manualy upload the installation to my webroot folder. I complete installation without problem,everthing working fine, bud here is the thing... ![]() All files uploaded are aslo chown to (user that upload it) and NEW installation of component make apche nobody as owner. So i cant edit normaly the files. I trought all will be as nobody and installed com_mamboxplorer_1.2.1.tar.gz but ofcourse it is chown to nobody owner, and it cant do anything. WHat is problem here why isnt all files chowned to NoBody as suposed (i didn change the permision and so on the page). most probably because "Safe Mode = On" at your server. I don't know if there is a safe mode patch available for Joomla 1.0.2.... |
|
| Author: | crow [ Mon Oct 10, 2005 2:43 pm ] |
| Post subject: | Re: Installation and CHMOD and owner |
Safe Mode is OFF see Server Info: I ftp upload whole contents of Joomla 1.0.2 packages to my webserver root or subfolder (tried both), it install normaly as i do that a lot of time, then i install component, and there begins the problem. Joomla installation is owned by the ftp user, and new installed component,template etc are owned by apache (nobody 99),i have mamboxplorer but it can edit only files installed after installation, it cant edit default installed files, and then ftp can only edit installation files not new files, i preferer one owner for this (or ftp user or apache) I didnt change anything in CHMOD permision in installation used default details. I as remember before all files are owned by apache nobody and mamboxplorer done everthing normaly.... Server info(hosting): Quote: Database Version: 4.0.25-standard Web Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2634a mod_ssl/2.8.22 OpenSSL/0.9.7a Relevant PHP Settings: Safe Mode: OFF Open basedir: /home/hostinguser/:/usr/lib/php:/usr/local/lib/php:/tmp Display Errors: ON Short Open Tags: ON File Uploads: ON Magic Quotes: ON Register Globals: OFF Output Buffering: OFF Session save path: /tmp Session auto start: 0 XML enabled: Yes Zlib enabled: Yes Disabled Functions: none WYSIWYG Editor: No WYSIWYG Editor Any help is welcome, here is my post in Installation section: http://forum.joomla.org/index.php/topic,11276.0.html Edit: Which permision you add to the folder in 1 step installation: I am puting 707 mybe that can be the problem but it dont have any connection with the ownership ((.Quote: administrator/backups/ Writeable administrator/components/ Writeable administrator/modules/ Writeable administrator/templates/ Writeable cache/ Writeable components/ Writeable images/ Writeable images/banners/ Writeable images/stories/ Writeable language/ Writeable mambots/ Writeable mambots/content/ Writeable mambots/editors/ Writeable mambots/editors-xtd/ Writeable mambots/search/ Writeable media/ Writeable modules/ Writeable templates/ Writeable Thnx for replay |
|
| Author: | nord [ Tue Oct 11, 2005 9:11 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
I've got the same problem Can anyone help please? |
|
| Author: | charlwillia6 [ Mon Oct 17, 2005 8:54 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
I have the same problem too. The only thing I can see so far is that you have to put in a support ticket to your webhost and have the ownership of all the directories and files changed back to you. Someone else on another thread suggested that you change the configuration defaults for CHMOD from the server defaults to making all files CHMOD to 777 when you install. Then you will have to go back and change the directories to 755 and the files to 644 after you have uploaded a COM or MOD packet. This way you keep ownership. If you keep the CHMOD on server defaults than the ownership of all files uploaded with the installers go to the apache server instead of the FTP user (which would be you). I don't know why this happens, but it is a big pain in the butt. I hope this helps. |
|
| Author: | Tonie [ Mon Oct 17, 2005 9:05 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
charlwillia6 wrote: I have the same problem too. The only thing I can see so far is that you have to put in a support ticket to your webhost and have the ownership of all the directories and files changed back to you. Unfortunately most hosters don't give you access to the chown command, so this indeed the way to go. There is one disadvantage to this. If your site is static and doesn't change, this will work o.k. On the other hand, if you want to deinstall a non-default component, you need the owner of the files to be apache/nobody, otherwise the files/directories will not be deleted. charlwillia6 wrote: Someone else on another thread suggested that you change the configuration defaults for CHMOD from server defaults to making all files CHMOD to 777 when you install. Then you will have to go back and change the directories to 755 and the files to 644 after you have uploaded a COM or MOD packet. This way you keep ownership. This is indeed true. Basically, after a normal installation you will have these owners:
|
|
| Author: | charlwillia6 [ Mon Oct 17, 2005 9:21 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
Thanks for the back-up: One thing I just tried on my site, which I am not sure if it will work for everyone, but I went to global configurations and set my CHMOD settings to 777 for all files and directories and then checked the box that said "Apply to existing files?" This gave me back all my permissions to the directories and files that I had lost permission of when I was installing modules and components today. Now I did not see that as a solution anywhere as to getting your ownership back to these directories. Is there a reason for that? Am I just lucky I didn't have to set up a support ticket? |
|
| Author: | Tonie [ Mon Oct 17, 2005 9:29 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
Interesting, I will check this out tonight when I return home. Changing your rights to 777 will give everybody all rights on files and directories. With the chmod command, it is not possible to change the owner of a file. Changing the owner of a file can only be done with the chown command. |
|
| Author: | charlwillia6 [ Mon Oct 17, 2005 9:48 am ] |
| Post subject: | Re: Installation and CHMOD and owner |
Tonie wrote: Interesting, I will check this out tonight when I return home. Changing your rights to 777 will give everybody all rights on files and directories. With the chmod command, it is not possible to change the owner of a file. Changing the owner of a file can only be done with the chown command. Thats what I thought, but once I went into the global configurations and changed all the CHMOD settings of all the Joomla files, I had access again. I can now edit some of the php files that I couldn't edit earlier today. I couldn't even delete them. I am a newbie of course, so I am unsure why somethings work the way they do, but all I know now is that I have access to files that I didn't have earlier after I installed those components/modules. |
|
| Author: | crow [ Mon Oct 17, 2005 1:45 pm ] |
| Post subject: | Re: Installation and CHMOD and owner |
I have posted this on another post: http://forum.joomla.org/index.php/topic,11165.msg79873.html#msg79873 During installation in Step 3 (choice to chmod the files and the directory to 777) and you will have access to modify it, but owner will afcourse stey apache. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|