1752780 Members
6137 Online
108789 Solutions
New Discussion юеВ

filesystem permissions

 
j.bobby
Frequent Advisor

filesystem permissions

hi guys,

i have a small requirement.I have a normal application user,whose home directory is /u01/product/oracle.I need to give access (R/W) of /u05 filesystem to the user.how to give.please kindly suggest me.

regards

bobby.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: filesystem permissions

Shalom,

Standard oracle installation usually defines group as dba. Make dba a secondary group for this user.

chmod -R g+rw /u01/product/oracle/*

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: filesystem permissions

There are three ways to grant this particular user r/w permissions to a filesystem. The first is to grant w permission to everyone. The second is to grant write permission to the group that owns the /u05 directory entry. The third is to make this user the owner of the /u05 directory entry.

This is pretty basic stuff - let us know if you need more explanation.


Pete

Pete
sujit kumar singh
Honored Contributor

Re: filesystem permissions

hi


please read carefully the answers as given by SEP and Pete in their answers.

Be CAUTIOUS actually what needs to be done.
Please correct me if i misread the question.
please be clear that you only wish that user to give as rw permission to that folder or you wish to chage the ownership to that user
for the folder.

changing ownership will also grant the rw permission by default.


to be clear if you want to group ownership to that user then that can be done as

#chown username:groupname /u05
#chown -R username:groupname /u05

the second one makes the user owner of /u05 and recursively of all the subdirectories and files within /u05.



regards
sujit