return to tranceaddict TranceAddict Forums Archive > Archives > Classic old threads / Inactive Forums > Retired Forums > Frequently Asked Questions / Tutorials / How do I?

 
CHMOD permissions
View this Thread in Original format
Nell
i'm doing an assignment and as part of it i have to set the permission of my files and folders of my created website. ive been told that it is commong practise to make directories executable, and html files readable.

but i could do with some tips on who should exactly have what permissions out of the owner, group, and user.

i have a folder that stores a php file that is used by an html file, and i have a folder which contains an html file and is protected by an htaccess file. i also have a folder with pictures in that are inserted in the html file.

any help or points in the right direction appreciated!
LeopoldStotch
do this ..

chmod 700 *

that fixes everything for you .. trust me .. hahhahaa ..

but anyways ... that's the basic philosophy .. i think best should be like

chmod 745 ..
SurrJRS
quote:
Originally posted by LeopoldStotch
chmod 745 ..


If you need to change everything within that directory hierarchy you will want to use the recursive option.

Ex:

chmod –R 755 *

755 will give owner (you) full permission to Read/Write/eXecute, and group and everyone else permission to Read and eXecute.
Sunsnail
No idea.
CLICK TO RETURN TO TOP OF PAGE
 
Privacy Statement