Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-27-2013, 05:46 AM   #1
Registered: Feb 2013
Location: Bangalore
Distribution: Rhel
Posts: 86

Rep: Reputation: Disabled
Rhel user permission.

Dear All,

Am really happy with coz i got lots of solutions and when i was started with this team am a new in Linux, now getting lots of things from

I have a requirement now, please help me..

How to configure Linux user with his home directory only read permission, we are giving this user to client for some other purpose.

Old 08-27-2013, 06:07 AM   #2
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Do you mean that only user itself should have read persmission on his home directory, and no one else? After creation of user, you can do it as:
~$ chmod u+rwx,og-rwx /home/username
~$ chmod 700 /home/username
Or explain your requirement little more.
Old 08-27-2013, 06:16 AM   #3
Registered: Feb 2013
Location: Bangalore
Distribution: Rhel
Posts: 86

Original Poster
Rep: Reputation: Disabled
Thank you shivaa,

that only user its fine done it.
Old 08-27-2013, 06:26 AM   #4
LQ Newbie
Registered: Mar 2011
Location: Ahmedabad
Distribution: Centos
Posts: 3

Rep: Reputation: 1
give only read permission

hey if you want to give only read permission for user then the command is:

#chmod 500 /home/username
Old 08-27-2013, 07:55 AM   #5
Registered: May 2013
Location: Faisalabad, Pakistan
Posts: 72

Rep: Reputation: Disabled
hi you can also use commadn
# chmod u+wrx /home username


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to give root permission to normal user in RHEL... Linux - Newbie 4 11-08-2012 12:40 PM
changing home directory permission in user management after user created in suse(KDE) hamedhsn Linux - Security 4 04-06-2011 10:18 PM
Help with user permission level--give access to a user 2 use 500 servers svani Linux - Newbie 2 06-17-2010 09:57 PM
C user function to check whether a given user has access permission to a file iamjayanth Linux - Software 2 10-07-2009 08:16 AM
RHEL 5 Permission Issue? your_shadow03 Linux - Newbie 2 08-17-2008 02:05 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration