August 31, 200916 yr What does everyone think would be the best way to do this? specifically I don't want: anongid=0,anonuid=0,all_squash I want to enforce unix uid/gid perms so that I can chown stuff to root and make it a-w (like my movies directory) to prevent anything stupid from occuring like an rsync with the --del option that points to the wrong source dir etc. All of my file movement is done by my non-priv account so I would like to respect these things. Does anyone think this is a bad idea due to the way unraid is working, or can I set this across reboots somewhere so when I add a new share I dont have to mess with this manually in the future? Thanks alot.
September 25, 200916 yr Author I have my new array back now, and would like to see if this is doable. Can I get unraid to export my user shares like normal nfs exports? IE I want to enforce uid/gid perms and only uid's with the proper perms can write/read to dirs, I dont want everything to be remapped to root that connects. Thanks
October 5, 200916 yr I'm afraid all I can say is, try it and let us know! Somebody's got to be first! NFS is still a beta feature, and very few are using it yet.
October 6, 200916 yr I'm interested in this one too. I've made some tests and created my own /etc/exports like this: # See exports(5) for a description. # This file contains a list of all directories exported to other computers. # It is used by rpc.nfsd and rpc.mountd. /mnt/user/storage 192.168.0.0/16(rw,no_subtree_check,all_squash,anonuid=1000,anongid=100,async,fsid=100) (1000 is the uid of the user in my client linux box). However it still doesn't work. The export is mounted on the client, but any write gets mapped to root. I'm currently just editing /etc/exports and restarting with /etc/rc.d/rc.nfsd restart. Reboots to the server get the file back to it's original version. Let me know if you get any progress on this. Thanks
October 19, 200916 yr Author I tried this a bit back too and it seems to be ignored. i will look into it more here soon and let you know if I can figure anything out. This might work for the /mnt/disk* exports or not, and also maybe not at all on the /mnt/user/* shares. Since that is shfs which is something written internally at limetech it might be hardcoded in there somewhere to do that. It might be the same for the /mnt/disk exports too, not sure.
Archived
This topic is now archived and is closed to further replies.