Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two systems that are NOT in a NIS. I just make sure that the accounts on one machine have the same user name, UID and password on both systems... On the drive of one server I have a directory shared out with NFS so that both machines can share data. My problem is that on the remote machine I ran "chown -R root /export/myfolder" and now I can't make any changes to that folder from either machine. I can't even delete it as root. What would cause this and how can I gain control back over this directory?
When I do an ls I see that the owner is "root" with a group of "other" so i should at least have control, right?
I have two systems that are NOT in a NIS. I just make sure that the accounts on one machine have the same user name, UID and password on both systems... On the drive of one server I have a directory shared out with NFS so that both machines can share data. My problem is that on the remote machine I ran "chown -R root /export/myfolder" and now I can't make any changes to that folder from either machine. I can't even delete it as root. What would cause this and how can I gain control back over this directory?
When I do an ls I see that the owner is "root" with a group of "other" so i should at least have control, right?
Thanks for the help!
Is the folder a mount point? There are restrictions on changing or deleting mount points while they are in use.
Is that a restriction that can be disabled? I've never locked root into a situation that I couldn't delete a file or folder before. If I reboot the server do you think I'd be able to regain control?
The exports file might have a hold of it and not letting go ( unless you are suing autonfs).
rename the exports file and I'd guess you can then change or remove the files or dir in question.
Is that a restriction that can be disabled? I've never locked root into a situation that I couldn't delete a file or folder before. If I reboot the server do you think I'd be able to regain control?
If the directory is a mount point then you can umount the file system to make the directory deletable. Some mount points cannot be umounted because Linux is using them permanently. In that case you boot a live CD and manipulate the mount point directory.
But first make sure that the directory in question is actually a mount point and that is actually the problem. Use the mount command:
mount
to list your mount points and take a look at /etc/fstab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.