cancel
Showing results for 
Search instead for 
Did you mean: 

change group

change group

dear hpux expert

i wan to chage group
from :
drwxr-xrwx 62 root sys 8192 Nov 4 22:42 OraHome_2

to :
drwxr-x--- 3 oracle oinstall 96 Oct 25 07:31 OraHome_2

can show me the step
3 REPLIES
kemo
Trusted Contributor

Re: change group

chown oracle:oinstall OraHome_2
chmod 750 OraHome_2
kemo
Trusted Contributor

Re: change group

you can also use the below if OraHome_2 is directory and you want to set the ownership and permission recursively

chown -R oracle:oinstall OraHome_2
chmod -R 750 OraHome_2
ani007
Super Advisor

Re: change group


Change owner & group
#chown oracle:oinstall OraHome_2

change file permission
#chmod 750 OraHome_2

please don't forget to assign points.
Regards,
Ani