powerdomein
Verified User
- Joined
- Dec 28, 2005
- Messages
- 99
Dear guys,
I need some knowledge of yours.
I have a lot of Joomla sites on my server. The chmod of this files is not at all accounts the some. The customes give +777 rights.
Can i make a script which checks the chmod of just give the chmod the real rights.
In every account have you this directorys
administrator/backup/ writeable 707
administrator/components/ writeable 707
administrator/modules/ writeable 707
administrator/templates/ writeable 707
cache/ writeable 707
components/ writeable 707
images/ writeable 707
images/banners/ writeable 707
images/stories/ writeable 707
language/ writeable 707
mambots/ writeable 707
mambots/content/ writeable 707
mambots/search/ writeable 707
media/ writeable 707
modules/ writeable 707
templates/ writeable 707
I want run a script with this:
#!/bin/sh
pwd
chmod +707 ../administrator/backup
....
....
### end
But it dont work.. Can some help me with this ?
I need some knowledge of yours.
I have a lot of Joomla sites on my server. The chmod of this files is not at all accounts the some. The customes give +777 rights.
Can i make a script which checks the chmod of just give the chmod the real rights.
In every account have you this directorys
administrator/backup/ writeable 707
administrator/components/ writeable 707
administrator/modules/ writeable 707
administrator/templates/ writeable 707
cache/ writeable 707
components/ writeable 707
images/ writeable 707
images/banners/ writeable 707
images/stories/ writeable 707
language/ writeable 707
mambots/ writeable 707
mambots/content/ writeable 707
mambots/search/ writeable 707
media/ writeable 707
modules/ writeable 707
templates/ writeable 707
I want run a script with this:
#!/bin/sh
pwd
chmod +707 ../administrator/backup
....
....
### end
But it dont work.. Can some help me with this ?