[Leaplist] permissions help with NFS mounts

William A. Mahaffey III wam at hiwaay.net
Mon Jun 29 09:46:20 EDT 2009


On 06/28/09 22:16, Ray Brunkow wrote:
> William A. Mahaffey III wrote:
>> On 06/28/09 20:33, Ray Brunkow wrote:
>>> I just built a CentOS 5.3 NFS file server and I am having issues 
>>> with permissions.  I have been successful at adding extra HDD and 
>>> partitions to the fstab:
>>>
>>> ---snip---
>>>
>>> Thanks for the help.
>>>
>>> uname -a
>>> Linux AMD64-FILE1 2.6.18-128.1.14.el5 #1 SMP Wed Jun 17 06:40:54 EDT 
>>> 2009 i686 athlon i386 GNU/Linux
>>>
>>>
>>
>>
>>
>> Make sure that the permissions on the mount points are correct w/o 
>> the drives mounted. This is a subtle but bitchy mistake that can 
>> inhibit function of the NFS shares once they are mounted.
>>
>>
> Ahh that explains why when I changed /home1 to chmod 777 as root I was 
> able to gain full access to it from my NFS client.  Is there a way 
> around that?
>
>


Yes. Manually un-mount them as root on the server using the umount 
command, then look at the permissions of the various mount points & get 
them set where you want them *with the drives still unmounted*. Then 
manually remount the various drives & you should be good to go.


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list