PDA

View Full Version : Home directory permissions



samschoice
July 9th, 2007, 07:04 AM
What are the default permissions on the home directory ?

I had a proggie change them. Please write the answer in text. i don't understand things like 755..

Polygon
July 9th, 2007, 07:09 AM
everything in your home folder should belong to you...

you should be the owner and can create/delete files

and the home folder should belong to the group that is the same as your username, and thats set as "---" for file access for me.

init1
July 9th, 2007, 07:50 AM
There needs to a certain permission on the directory itself, and a separate permission for a certain file inside. Not sure the details, but I had some issues with that. As for 755, its a way of representing the system with numbers.
http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilesp.html

saulgoode
July 9th, 2007, 08:13 AM
I would recommend 'rwxr-xr-x' for both files and directories -- this provides everyone the right to search your subdirectories and view your files but they can't change them. If you do not wish others to view your files then you should use 'rwxr-x---'.

samschoice
July 9th, 2007, 08:23 AM
thanks guys. hopefully I'll be able to help you one day.