AR_1986 Posted June 10, 2009 Share Posted June 10, 2009 Hi everyone, im trying to figuring out what the correct chmod command line for putty would be if i wanted the file permission for confiugre.php to be read only to everyone. 444. Im not to sure how to structure the command. would this be right? chmod a-r configure.php Many thanks. Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/ Share on other sites More sharing options...
Maq Posted June 10, 2009 Share Posted June 10, 2009 Why not just use: chmod 444 configure.php Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/#findComment-853156 Share on other sites More sharing options...
AR_1986 Posted June 10, 2009 Author Share Posted June 10, 2009 Why not just use: chmod 444 configure.php can you do that in puTTy? i though you had to follow oug rwx commands? Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/#findComment-853157 Share on other sites More sharing options...
Maq Posted June 10, 2009 Share Posted June 10, 2009 Why not just use: chmod 444 configure.php can you do that in puTTy? i though you had to follow oug rwx commands? I don't use putty but I'm almost positive you can. Try it. Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/#findComment-853158 Share on other sites More sharing options...
AR_1986 Posted June 10, 2009 Author Share Posted June 10, 2009 Why not just use: chmod 444 configure.php can you do that in puTTy? i though you had to follow oug rwx commands? I don't use putty but I'm almost positive you can. Try it. mate...your a total legend! It worked and was so simple. I think because im new to php and don't know what im doing im over complicating things for myself. Thankyou soo much! Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/#findComment-853165 Share on other sites More sharing options...
Maq Posted June 10, 2009 Share Posted June 10, 2009 YW. This really doesn't have to do anything with PHP, except the fact that you're changing the permissions of a .php file. Quote Link to comment https://forums.phpfreaks.com/topic/161693-solved-unsure-about-putty-chmod-command/#findComment-853167 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.