PDA

View Full Version : Which promission?



Danial_Faster
Sat 17th Jan '09, 5:47am
Hello,
I want change permissions of one user.
While permissions of file php become 644 and folder is 755.
Which chmod?
I can access root server.

Colin F
Sat 17th Jan '09, 6:33am
What do you want to do exactly? To change a forum users permission you don't need to change file CHMODs.

Danial_Faster
Sat 17th Jan '09, 6:39am
What do you want to do exactly? To change a forum users permission you don't need to change file CHMODs.
I performe run chmod -R 755 /home/satsat/www .
All files (php file) and folder is 755.
So,
I want change permissions,
While permissions of file php become 644 and folder is 755.
Like the past.(PHP file 644 and folder 755)

Colin F
Sat 17th Jan '09, 6:41am
Are you asking which files should be CHMOD 644?

CHMODing all the files to 644 and all the folders to 755 should work.

Danial_Faster
Sat 17th Jan '09, 6:45am
Are you asking which files should be CHMOD 644?

CHMODing all the files to 644 and all the folders to 755 should work.
Correctly,
But all php files is now 755 :(
login.php , ajax.php and .... . is 755 :(
I want login.php , ajax.php,online.php and .... . is 644 and icludes,install,admincp ... 755.
Which chmod for set permissions.:(

Colin F
Sat 17th Jan '09, 7:03am
Run this command from within your forum folder:
chmod 644 *.php

Danial_Faster
Sat 17th Jan '09, 5:22pm
Run this command from within your forum folder:
chmod 644 *.php

Please type full chmod.
Thank you :o

Colin F
Sun 18th Jan '09, 5:39pm
That's the exact command. You can also use -r to apply this to scripts in subfolders, like this:

chmod -r 644 *.php