I have a bunch of pages on my site which I can't edit at all, if I try to save them with FP i get a message saying that it can't change permissions. I tried changing them with ftp and it says "operation not permitted", I tried using the filemanager from Cpanel and it won't let me either. WTF??? How can I do this? I need to put the coop's code on several pages and I can't because they aren't writable
Nope, have a server admin that does all that stuff for me, but if you say it can be done by putty I'll ask him to take a look. BTW, do you have any idea of why this happens? Damn frustrating not being able to change a permission via ftp
This will give full access to everybody to the entire directory. Not a good idea. Good thing it's all upper case and it won't work anyway
I noticed that after I posted- ha! Yeah, 777 will give access to everyone. So what would he want- 774?
OK, l am in putty now... the folder is called news, inside that folder there are about 100 htm pages which I need to change permission to edit them. How can I do it? I mean, how can I select those pages without having to edit one by one? Inside thefolder I also have some scripts and things I don't want to change permissions, so I can't just change them for the entire folder
You want the most restrictive permissions you can set and still do what you need to. 644 will allow the owner of the file to read and write, users in the same group will be able to read, but not write or execute, and everyone else in the world will be able to read but not write or execute. This is normally the most secure setting that will still allow you to do what you need.
Can't say - it depends on the setup. That is, who's the owner, what's the Apache user etc. In general, the owner and the group can read and write, the others can only read. Sometimes Apache's set up to use the x-bit hack for SSI's, you'd need to allow execute for all/some files as well (you also need execute on directories to traverse them). The question I'd ask myself here is that if the permissions got screwed up, how'd they change in the first place (that is, if files were accessible before). J.D.
The pages are created by a script, it gets news from a rss feed and writes it into an html page. Anyway, after playing around with putty I got it to work.