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!

Unable to change ownership of mounted folder from root user to other user.

DattatrayNov 4 2016 — edited Nov 10 2016

hello

i wanted mount windows folder on linux , for that

1. created one folder on windows machine at D: drive

2 give permission of this folder to everyone.

3. created one folder on linux on path /hyperion/LCM_backup

3. executed following command on linux server with root user

mount -t cifs -o username="ind\hypadmin",password=Test1234 //10.42.4.171/LCM_backup /hyperion/LCM_backup

4.  now owner was hypadmin on linux with which i created folder on linux , now it got changed to root user.

5. now i wanted to change ownership from root to hypadmin user  by executing following command,

sudo chown -R hypadmin:hypadmin /hyperion/LCM_backup

error :

[root@ze42-s-emgrdev1 ~]# sudo chown -R hypadmin:hypadmin /hyperion/LCM_backup

chown: changing ownership of `/hyperion/LCM_backup': Permission denied

where 10.42.4.171 is windows server.

LCM_backup is windows folder created on location of windows server C:\hyperion\LCM_backup

regards,

Dattatray Mate

This post has been answered by Dude! on Nov 7 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2016
Added on Nov 4 2016
8 comments
1,745 views