[SOLVED] joomla primation

General support questions
pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: joomla permission

Post by pschaff » 2011/08/02 21:06:16

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]

sayres
Posts: 93
Joined: 2011/06/25 16:05:45
Location: Iran/Karaj

[SOLVED]joomla permission

Post by sayres » 2011/08/04 22:00:50

tanks dude.

User avatar
AlanBartlett
Forum Moderator
Posts: 9345
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

Re: [SOLVED] joomla permission

Post by AlanBartlett » 2011/08/05 01:08:15

Thank you for reporting back.

For posterity, and on your behalf, I shall also marked the first post of this thread as [SOLVED].

Post Reply