xavierq Posted February 28, 2005 Share Posted February 28, 2005 I changed permissions on configure.php from 444 to 777 so I could edit it. Now that I've done so, I'm trying to set it back to 444. But every time I set it to 444, it imediately changes to 644. So I keep getting the security error on the top of all the pages. I can get to the file through the file manager, but I can't find a way to change permissions there. How do I get these permissions set properly? Link to comment Share on other sites More sharing options...
Simplyeasier Posted February 28, 2005 Share Posted February 28, 2005 I changed permissions on configure.php from 444 to 777 so I could edit it. Now that I've done so, I'm trying to set it back to 444. But every time I set it to 444, it imediately changes to 644. So I keep getting the security error on the top of all the pages. I can get to the file through the file manager, but I can't find a way to change permissions there. How do I get these permissions set properly? <{POST_SNAPBACK}> You don't need to change permissions to edit the file - permissions stop writing \ reading \ executing of the file by unauthorised users - To chmod it go to your server and using an FTP client or cpanel change the permissions directly on the file on the server. Thereafter if you need to edit the file - you just download it , back it up, make your changes, then upload it again - no messing with the permissions. hth Charles A kite flies highest AGAINST the wind ! "Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!" Link to comment Share on other sites More sharing options...
jasone Posted February 28, 2005 Share Posted February 28, 2005 Try put this code somwhere in your index.php: <?php chmod("YOUR_FILE.php", 0444); ?> This worked for me when I had the same problem. Hope it helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.