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!

chown: changing ownership of u01: operation not permitted.

NitishKumar1989Feb 18 2014 — edited Feb 19 2014

Hi

I am dual booting Window 8 and Oracle Linux 6 on my system. Both OS is working perfectly. I have one NTFS partition "/dev/sda4" which gets mounted with no issues, when using mount command.

In my / directory of linux system I have created u01 folder. I changed the ownership of this u01 folder from root:root to  oracle:oinstall (oracle user and oinstall group). Now when I am mounting /dev/sda4 to u01 using:
sudo mount /dev/sda4 /u01


It is getting mounted perfectly but the ownership of u01 is getting changed from oracle:oinstall to root:root again.

Now I am trying to change it back to oracle:oinstall using:
sudo chown oracle:oinstall /u01

But it is showing error: "chown: changing ownership of u01: operation not permitted. "

Note: My username is oracle and group is oinstall. I have put oracle user in  /etc/sudoers file:
      oracle ALL=(ALL) NOPASSWD:ALL

Thanks

Nitish

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2014
Added on Feb 18 2014
5 comments
6,255 views