You are not logged in.

#1 2009-07-14 03:24:08

daniel1988
Member
Registered: 2009-06-28
Posts: 34

nfs paste error as user fails

Two arch boxes. Nfs set up to share a ntfs partition on each one to another. On one box, evrything works fine, but on the second one I can't copy the file regularly as user. The file is created at 0 bytes size and this message is displayed: "cp: cannot create regular file `/mnt/dario/ja/IntelCodeTable.pdf': Permission denied". As user I can read and delete files from share and I can create dirs as well. As root it copies the file w\o errors. Ntfs-3g works - copy paste on the local ntfs partition works.
On the other hand, on the second box (let's call it box 2) everything works fine as normal user!

Here are paralel config files (they are almost the same):

/etc/exports (box 1 - errorneous one):

/export/storage    10.0.0.1/24(rw,fsid=0,no_subtree_check,async,no_root_squash,nohide)

/etc/exports (box 2 - good one):

/export/Storage    10.0.0.1/24(rw,fsid=0,no_subtree_check,async,no_root_squash,nohide)

/etc/fstab box 1:

UUID=0fa6a503-4fd1-453f-a15f-3f23eb2241de swap swap defaults 0 0
UUID=3033d762-08c8-4b55-86b3-8a7de72c9cf5 /home/daniel/random ext4 defaults,users,rw 0 1
UUID=43f21a15-de5b-47e3-811f-113013f1fcd1 /home ext4 defaults 0 1
UUID=7bf5a398-17f5-4fab-8d51-da45b192d9ce / ext4 defaults 0 1
UUID=e23adf08-7129-40ae-808e-ca00ff9fe7b2 /boot ext2 defaults 0 1
UUID=1E80201F8020003F /media/win_c ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002  0 0
UUID=7680226480222B57 /media/storage ntfs-3g users,uid=1000,gid=100,fmask=0113,dmask=0002  0 0

rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
nfsd /proc/fs/nfsd nfsd rw,nodev,noexec,nosuid 0 0

10.0.0.13:/     /mnt/dario      nfs4    defaults,users,rw 0 0

/media/storage /export/storage  none    bind 0 0

/etc/fstab box 2:

none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

#/dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
#/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

UUID=3084BEC484BE8C3A /mnt/Storage ntfs-3g users,uid=100,gid=100,fmask=0133,dmask=0002 0 0
UUID=4ffa663d-d916-44ca-9aca-45075c234fee / ext4 defaults 0 1
UUID=b792adf9-33f7-43ec-914a-344b913aa36e swap swap defaults 0 0

/mnt/Storage    /export/Storage    none    bind    0 0
10.0.0.6:/    /mnt/daniel    nfs4    defaults,users,rw    0    0

rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs defaults 0 0
nfsd /proc/fs/nfsd nfsd rw,nodev,noexec,nosuid 0 0

Other configs are default ones.

Any idea why this happens?

Cheers,
Daniel

Offline

#2 2009-07-19 01:57:42

daniel1988
Member
Registered: 2009-06-28
Posts: 34

Re: nfs paste error as user fails

After a few days client was rebooted. Now it works fine...
[for mods:] feel free to delete this topic

Last edited by daniel1988 (2009-07-19 01:59:23)

Offline

Board footer

Powered by FluxBB