cp/mv および nfs 関連権限の問題

cp/mv および nfs 関連権限の問題

1台のコンピュータにntfsとしてマウントされたドライブがあり、2台目のコンピュータにNFSを使用できます。 2台目のコンピュータでは、ドライブを読み書きできますが、問題があります。 cpはファイルを生成しますが、次の結果が表示されます。

cp: cannot create regular file ‘wgb/ccc’: Operation not permitted

最初の呼び出しと2番目の呼び出しは正常に内容を記録します(ファイルがすでに存在する場合)。

mvは常に失敗します。

mv: cannot create regular file ‘wgb/ccc’: Operation not permitted

どのように診断/修正するのですか?


設定は

Comp1(Ubuntu Server)/etc/fstab

UUID=01CF340CBDFC8A90 /mnt/wgb  ntfs-3g defaults,auto,umask=000,users,rw 0

Comp1 /etc/exports

/mnt/wgb *(rw,sync,no_root_squash,no_subtree_check)

Comp2(Linux Mint)/etc/fstab

192.168.0.4:/mnt/wgb    /mnt/wgb    nfs auto,nofail,noac    0   0

ベストアンサー1

変更して動作させました。

no_root_squash

到着

all_squash,anongid=0,anonuid=0

おすすめ記事