Forum Moderators: phranque

Message Too Old, No Replies

HTML file permissions

What should they be?

         

lee_sufc

8:07 am on May 9, 2008 (gmt 0)

10+ Year Member Top Contributors Of The Month



When uploading some pages to my site, I noticed a various pages had different file permissions - some had 644, some 604 and some 706.

From a bit of information I found online, I think that for general .html files, the 'normal' permission should be 644...I just want to check that this is right?

Receptional Andy

1:59 pm on May 10, 2008 (gmt 0)



For most files 644 would indeed be the default (everyone can read, owner can also write).

To be blunt, I don't know a great deal about the usefulness of group permissions, so it may be that you could use 604 (owner can read and write, public can read, members of group are denied access).

You certainly don't need execute permission on html files in any case.

lee_sufc

5:30 pm on May 10, 2008 (gmt 0)

10+ Year Member Top Contributors Of The Month



Thanks, Andy - had a feeling it was 644 but wanted someone to put my mind to rest.