-
AuthorPosts
-
mneese Friend
mneese
- Join date:
- November 2008
- Posts:
- 148
- Downloads:
- 19
- Uploads:
- 0
- Thanks:
- 36
- Thanked:
- 7 times in 1 posts
March 23, 2009 at 7:52 pm #139500used quickstart but had to maually set up configuration.php using cut and paste at the end.
all the directories installed are shown unwritable (system info interface, directory permissions), because they have been installed with “root” user, not properly assigned to correct user.
They are not actually unwritable as shown in the server interface, and i can actually edit the files as needed.
What is wrong here?
Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 23, 2009 at 8:02 pm #297504I get this problem, when i install joomla directly in the root folder of the server. These folder permissions are not seen on my end if i install it into any of the subfolder in the root folder. I am on shared hosting with lunarpages.
Also, on my ubuntu server, while unzipping the files owner used to get changed and to correct that i used to run this command
<blockquote>sudo chown -R www-data:www-data /var/www/Your_Joomla_folder
</blockquote>As in ubuntu server owner of the joomla directory is given to user “www-data”.
This is what i used to follow on my ubuntu web server.
<blockquote>
Handle ownership (choose one option):# 1. Allow writting in whole joomla subtree
sudo chown -R www-data:www-data /var/www/joomla# 2. Allow writting only in places Joomla! needs to write to (more secure)
sudo chown -R root:root /var/www/joomla
cd /var/www/joomla
PLACES=’
administrator/backups
administrator/components
administrator/modules
administrator/templates
cache
components
images
images/banners
images/stories
language
mambots
mambots/content
mambots/editors
mambots/editors-xtd
mambots/search
media
modules
templates
‘
for i in $PLACES; do
sudo chown -R www-data:www-data $i
doneHandle file and directory permissions:
cd /var/www/joomla
sudo find . -type f -exec chmod 644 {} ;
sudo find . -type d -exec chmod 755 {} ;</blockquote>If this helps you can read the link at https://help.ubuntu.com/community/Joomla .
What kind of server environment you have?
1 user says Thank You to Arvind Chauhan for this useful post
mneese Friendmneese
- Join date:
- November 2008
- Posts:
- 148
- Downloads:
- 19
- Uploads:
- 0
- Thanks:
- 36
- Thanked:
- 7 times in 1 posts
March 23, 2009 at 8:37 pm #297511thanks for the reply.
I will have to digest this and see what action is needed.
I have a VPS server that i just started working on, so there are some quirks that i will have to work out.
I have also done a default joomla installation that worked fine and did not require a manual configuration file, and the permissions were correctly assigned on the server.
On my older sites that are shared hosting, there have never been these issues.Arvind Chauhan ModeratorArvind Chauhan
- Join date:
- September 2014
- Posts:
- 3835
- Downloads:
- 74
- Uploads:
- 92
- Thanks:
- 1240
- Thanked:
- 1334 times in 848 posts
March 23, 2009 at 8:47 pm #297513May be using “sudo” while using ssh, will help avoid these problems. If all the folders are owned by root “as you said in your first post”. You may have used your root account to move / copy / rename your joomla folder or your var/www or public_html folder.
I used to do it so often, based on your linux distro, search google for the right owner of your www or public_html folder and change the ownership using chown command.
1 user says Thank You to Arvind Chauhan for this useful post
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by Arvind Chauhan 15 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum