Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 5:51 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
Posted: Sun Oct 09, 2005 3:07 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 29, 2005 5:17 pm
Posts: 297
Location: Austria
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

_________________
BosanskoHercegovacki Chat Komjuniti
http://www.chat.ba


Last edited by crow on Sun Oct 09, 2005 4:05 pm, edited 1 time in total.

Top
   
 
Posted: Mon Oct 10, 2005 2:36 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 8:55 pm
Posts: 12898
Location: Nijmegen, The Netherlands
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....

_________________
Kind Regards,
Peter Martin, Global Moderator - Community & Leadership Team
www.db8.nl - Joomla specialist, Nijmegen, Nederland
Joomla 1.5 Quick Reference Guide: www.db8.nl/en/downloads/misc-downloads/ ... glish.html


Top
   
 
Posted: Mon Oct 10, 2005 2:43 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 29, 2005 5:17 pm
Posts: 297
Location: Austria
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

_________________
BosanskoHercegovacki Chat Komjuniti
http://www.chat.ba


Last edited by crow on Mon Oct 10, 2005 2:45 pm, edited 1 time in total.

Top
   
 
Posted: Tue Oct 11, 2005 9:11 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Oct 11, 2005 9:03 am
Posts: 1
I've got the same problem

Can anyone help please?


Top
  E-mail  
 
Posted: Mon Oct 17, 2005 8:54 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
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.

_________________
From the beginning...


Last edited by charlwillia6 on Mon Oct 17, 2005 9:00 am, edited 1 time in total.

Top
   
 
Posted: Mon Oct 17, 2005 9:05 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13249
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:
  • FTP User: All files and directories in default Joomla install + configuration.php
  • Apache/Nobody: All files and directories created by external components which are installed through Joomla backend. For an installation to work, the backend checks if the directories are writable

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Posted: Mon Oct 17, 2005 9:21 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
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?

_________________
From the beginning...


Top
   
 
Posted: Mon Oct 17, 2005 9:29 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 7:13 am
Posts: 13249
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.

_________________
Antonie de Wilde - Forum admin
All Joomla! release dates and days between releases: http://jfoobar.org/blog/189-days-betwee ... a-releases.test


Top
   
 
Posted: Mon Oct 17, 2005 9:48 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
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.

_________________
From the beginning...


Top
   
 
Posted: Mon Oct 17, 2005 1:45 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 29, 2005 5:17 pm
Posts: 297
Location: Austria
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.

_________________
BosanskoHercegovacki Chat Komjuniti
http://www.chat.ba


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

Quick reply

 



Who is online

Users browsing this forum: gachsaran and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group