cancel
Showing results for 
Search instead for 
Did you mean: 

User home directories mode

Muhammad Fakharuddin
Occasional Contributor

User home directories mode

Hi,i would like to set a user home directories mode.what is the correct mode to assign?is that 750 or 751?How am i going to set that?
4 REPLIES
Raj D.
Honored Contributor

Re: User home directories mode

Muhammad,
It depends on your requirement, you can normally assign 755 mode, or 750.

Cheers, and dont forget to assign points at end.
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Muhammad Fakharuddin
Occasional Contributor

Re: User home directories mode

How am i going to set that in user home directories?
Steven Schweda
Honored Contributor

Re: User home directories mode

> [...] How am i going to set that?

man chmod

What, exactly, is the mystery?
Tor-Arne Nostdal
Trusted Contributor

Re: User home directories mode

If you have a problem with understanding what the mode numbers assign of rights... you could use the chmod command like this:

chmod u+rwx,g+rx-w,o-rwx ~{username}

In this example I give the user all rights (7), the group reaad and execute (5) and all others no rights (0) on the home directory to {username}

... but as Steven pinpointed... reading the manual is normally a good place to start ;)

/Tor-Arne
I'm trying to become President of the state I'm in...