Write in root on NFS disk?

Conny Enström uncurbed at swipnet.se
Sun Jan 29 15:29:34 UTC 2017


Den 2017-01-29 kl. 11:09, skrev Enrique Villalobos:
> Hi,
>
> This is my config and I can write in root partition with root user:
>
> /etc/exports:
>
> /Backups/burropi        192.168.1.11(rw,async,no_subtree_check,no_root_squash)
>
> /etc/fstab:
>
> 192.168.1.10:/Backups/burropi         /Red/Backups nfs
> auto,nofail,noatime,nolock,intr,tcp,actimeo=1800 0 0
>
>
> Quique.
>
> 2017-01-27 16:47 GMT+01:00 Conny Enström <uncurbed at swipnet.se>:
>> Den 2017-01-27 kl. 16:38, skrev Conny Enström:
>>>
>>> I have a NFS Raid-1 shared and mounted NFS disk like this on the server:
>>> /etc/exportfs
>>> /mnt/md0 *(rw,async,no_subtree_check,no_root_squash,fsid=1)
>>>
>>> I have also tried to export it like this: /mnt/md0
>>> *(rw,sync,no_subtree_check)
>>>
>>> I had 2 disks mounted exact the same before and had no problem with
>>> copying files to the root of the disks.
>>>
>>> Mounted on the client with:
>>> fstab
>>> 192.168.0.113:/mnt/md0 /media/raid1 nfs auto 0 0
>>>
>>> I can't write or copy any files in the root of the disk,I can create a
>>> folder without problem
>>> What is wrong with the config?
>>>
>>> Conny
>>>
>> I can NOT create a folder, my fault.
>>
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

Thank you I think this is solved, I also did a chmode -R 777 on the 
whole disk and I can now write to it and create folders.

Conny






More information about the ubuntu-users mailing list