[SOLVED] joomla primation
[SOLVED] joomla primation
i want install component and themplate in joomla.
my doucument root is /var/www/html.
but when i install theme encounter with this massage :
[code] * Warning! Failed to move file.[/code]
what can i do???what primition my document root?
[code]
[sayres@centos ~]$ ls -l /var/www/html
total 8
-rw-rw-r--. 1 root sayres 20 Aug 1 17:09 info.php
drw-r-xr-x. 16 root sayres 4096 Aug 2 03:44 Joomla
[sayres@centos ~]$
[/code]
my doucument root is /var/www/html.
but when i install theme encounter with this massage :
[code] * Warning! Failed to move file.[/code]
what can i do???what primition my document root?
[code]
[sayres@centos ~]$ ls -l /var/www/html
total 8
-rw-rw-r--. 1 root sayres 20 Aug 1 17:09 info.php
drw-r-xr-x. 16 root sayres 4096 Aug 2 03:44 Joomla
[sayres@centos ~]$
[/code]
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
[SOLVED] joomla primation
There seems to be a language issue here. Please try again to ask your question. None of " themplate", "primation", and "primition" are recognizable English words. Template? Partition?
Is this related to your [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32491&forum=55&post_id=139059#forumpost139059]last thread[/url]?
It might help if you told us exactly what you are trying to install, and by what method.
Is this related to your [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32491&forum=55&post_id=139059#forumpost139059]last thread[/url]?
It might help if you told us exactly what you are trying to install, and by what method.
Re: joomla primation
But it's probably down to the fact that the ownership of the Joomla directory only allows root to write to it and anyone to read it.
Re: joomla primation
I want to install a Joomla Template.
But during installation I encountered with this message:
[img align=right]http://www.upload98.com/images/fwjwz1oaytjb68vzti.png[/img]
This message is sure to permissions folders root directory.
What should I change folder permissions that I can do Tmplath Joomla extensions and Joomla install?
my root directory is:
[code]
[sayres@centos ~]$ ls -l /var/www/html
total 8
-rw-rw-r--. 1 root sayres 20 Aug 1 17:09 info.php
drw-r-xr-x. 16 root sayres 4096 Aug 2 03:44 Joomla
[sayres@centos ~]$
[/code]
I hope you understand.
Sorry. My English is very bad.
But during installation I encountered with this message:
[img align=right]http://www.upload98.com/images/fwjwz1oaytjb68vzti.png[/img]
This message is sure to permissions folders root directory.
What should I change folder permissions that I can do Tmplath Joomla extensions and Joomla install?
my root directory is:
[code]
[sayres@centos ~]$ ls -l /var/www/html
total 8
-rw-rw-r--. 1 root sayres 20 Aug 1 17:09 info.php
drw-r-xr-x. 16 root sayres 4096 Aug 2 03:44 Joomla
[sayres@centos ~]$
[/code]
I hope you understand.
Sorry. My English is very bad.
Re: joomla permission
I found this:
http://ignoresysprereqs.blogspot.com/2011/03/joomla-warning-failed-to-move-file.html
I am using this command:
[code]
for i in 'find . -type d'; do sudo chmod 770 $i; sudo chgrp nogroup $i; done
[/code]
I get this message?
[code]
[root@centos html]# for i in 'find . -type d'; do sudo chmod 770 $i; sudo chgrp nogroup $i; done
chmod: invalid mode: `-type'
Try `chmod --help' for more information.
chgrp: invalid option -- 't'
Try `chgrp --help' for more information.
[root@centos html]#
[/code]
Why?
http://ignoresysprereqs.blogspot.com/2011/03/joomla-warning-failed-to-move-file.html
I am using this command:
[code]
for i in 'find . -type d'; do sudo chmod 770 $i; sudo chgrp nogroup $i; done
[/code]
I get this message?
[code]
[root@centos html]# for i in 'find . -type d'; do sudo chmod 770 $i; sudo chgrp nogroup $i; done
chmod: invalid mode: `-type'
Try `chmod --help' for more information.
chgrp: invalid option -- 't'
Try `chgrp --help' for more information.
[root@centos html]#
[/code]
Why?
Re: joomla permission
Oh the dangers of copying stuff off the internet when you have no idea what it does!
The quotes you have used in your command are the wrong sort - they should be backticks which on a UK keyboard is the top lefthand key on the main block of keys. What you used were single quotes.
It also is not going to fix your problem. The current permissions on the Joomla directory give write access only to the owner of the directory - which is currently root. The group which owns it only has read and execute permission. Your command sort of almost fixes this by adding group write permission but the Apache process on Centos runs under userid 'apache' which is a member of group apache only. So to fix the permissions correctly you would need to change 'nogroup' to 'apache' as well as fixing the backtick problem.
The quotes you have used in your command are the wrong sort - they should be backticks which on a UK keyboard is the top lefthand key on the main block of keys. What you used were single quotes.
It also is not going to fix your problem. The current permissions on the Joomla directory give write access only to the owner of the directory - which is currently root. The group which owns it only has read and execute permission. Your command sort of almost fixes this by adding group write permission but the Apache process on Centos runs under userid 'apache' which is a member of group apache only. So to fix the permissions correctly you would need to change 'nogroup' to 'apache' as well as fixing the backtick problem.
Re: joomla permission
What I do now?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: joomla permission
What Trevor said.
Re: joomla permission
Sorry. I'm good purpose did not catch Trevor.
Will explain with examples? :-?
Will explain with examples? :-?
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: joomla permission
First [url=http://wiki.centos.org/TipsAndTricks/BecomingRoot]becoming root[/url], specifying the directory explicitly, using a syntax variant to avoid confusion between ` and ' , and also taking care of files:[code]for i in $(find /var/www/html -type d); do chmod 770 $i; chgrp apache $i; done
for i in $(find /var/www/html -type f); do chmod 660 $i; chgrp apache $i; done[/code]
for i in $(find /var/www/html -type f); do chmod 660 $i; chgrp apache $i; done[/code]