Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why chown is NOT working ?

JhilNov 24 2017 — edited Nov 24 2017

# pwd

/root

>>

[root@RAC1 ~]# mkdir -p /u01/app/grid

[root@RAC1 ~]# chown -R grid:oinstall /u01/app/grid/

[root@RAC1 ~]# chmod -R 775 /u01/app/grid/

>>

[root@RAC1 u01]# mkdir -p /u01/product/11.2.0/grid

[root@RAC1 u01]# chown -R grid:oinstall /u01/product/11.2.0/grid/

[root@RAC1 u01]# chmod -R 775 /u01/product/11.2.0/grid/

>>

[root@RAC1 ~]# cd /u01/

[root@RAC1 u01]# ls -l

total 24

drwxr-xr-x 4 root root  4096 Nov 24 15:23 app

drwx------ 2 root root 16384 Nov 23 03:45 lost+found

drwxr-xr-x 3 root root  4096 Nov 24 15:22 product

>>

# id grid

uid=550(grid) gid=501(oinstall) groups=501(oinstall),503(asmadmin),504(asmdba),505(asmoper)

>>

# tail /etc/group

haldaemon:x:68:

avahi-autoipd:x:103:

xfs:x:43:

gdm:x:42:

sabayon:x:86:

oinstall:x:501:

dba:x:502:oracle

asmadmin:x:503:grid

asmdba:x:504:grid,oracle

asmoper:x:505:grid

>>

# tail -3 /etc/passwd

sabayon:x:86:86:Sabayon user:/home/sabayon:/sbin/nologin

grid:x:550:501::/home/grid:/bin/bash

oracle:x:551:501::/home/oracle:/bin/bash

>>

# cat /etc/*release

Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)

Oracle Linux Server release 5.11

Red Hat Enterprise Linux Server release 5.5 (Tikanga)

This post has been answered by Nik on Nov 24 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 22 2017
Added on Nov 24 2017
3 comments
680 views