Mount. nfs: accessdeniedbyserverwhilemounting

Source: Internet
Author: User
Tags root access
The following message is displayed: mount. nfs: accessdeniedbyserverwhilemountinglocalhost: rootnfs_root took me three days to check. We found that there was no problem with the computer configuration in the company. There will be problems with the desktop at home. No reason can be found for online search. Depressed. Later, I tried to reconfigure homemed.

The following message is displayed: mount. nfs: access denied by server while mounting localhost:/root/nfs_root took me three days to check. We found that there was no problem with the computer configuration in the company. There will be problems with the desktop at home. No reason can be found for online search. Depressed. Later, I tried to reconfigure/home/med

The following message is displayed: mount. nfs: access denied by server while mounting localhost:/root/nfs_root.



It took me three days to check. We found that there was no problem with the computer configuration in the company. There will be problems with the desktop at home.

No reason can be found for online search. Depressed.


Later, I tried to reconfigure/home/medea as a mount point and found that the mount point actually passed.


I will go to the root directory, ls-al. Finally, I found the problem. It turns out that my/root permission is drwx ------


I thought that, after the local mount, another user will log on. It turns out that the root access permission is faulty.


So:

# Chmod 755/root


Before trying

# Mount-t nfs localhost:/root/nfs_root/root/book

OK! Successful. Pai_^

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.