NFS permissions nag

Forum rules
Before you post please read this

NFS permissions nag

Postby birdog on Tue Aug 12, 2014 12:40 pm

I have a Freenas drive using ZFS and had do upgrade to 9.x (flash drive failure), imported volumes but cant enable CIFS wich turned out to be a good thing as it gave me an excuse to use NFS (all my computer are linux so not sure why i didnt before). It is so much faster when opening a folder with over 500 files in it and transfer speeds apear to be faster also. Got is mounted and mount on boot using fstab with the followig line;

192.168.20.200:/mnt/NAS18/ /home/pat/Nas nfs defaults 0 0

It will copy fine and the permissions i think are correct as i trust all computers on local network so all have admin access (all use same credentials for nas drive) but for every file i copy to the NAS i get a popup "Could not change permissions for /home/pat/Nas/Temp/testfile.txt" and only get this when copying to the NAS drive. File does copy fine and when copy back to computer does not get nag and that file is also fine.

My question is there a way to get rid of that popup as sometimes i copy thousands of files and they copy but then i have to close a thousand nag popups. BTW is do use Dolphin to copy but have tested with Krusader and get the nag screen there also. Is there something in system notifycations or can i change the fstab file to get rid of the nag screens?
birdog
Level 1
Level 1
 
Posts: 8
Joined: Wed May 25, 2011 8:04 pm

Linux Mint is funded by ads and donations.
 

Re: NFS permissions nag

Postby ktheking on Tue Aug 12, 2014 2:06 pm

The problem lies in the fact that files and folders are being tried to copy whilst during the process ownerships can't be set because of non synced OS's (uid's / gid's).
Every binary or process that does try it will report problems , UNLESS you're using a tool that's not trying to do this. Rsync can be one of those.
You can try grsync ,which gives you a gui.
The other alternative is to create the user and groups from you linux mint system onto the Freenas box , or use an ldap that's shared between both. This solution is the pro solution :-).
User avatar
ktheking
Level 4
Level 4
 
Posts: 274
Joined: Tue May 13, 2014 9:13 am

Re: NFS permissions nag

Postby birdog on Tue Aug 12, 2014 6:15 pm

Thanks for the reply and info and rsync is a good work around, had freefilesync installed and could use that too is suppose. I did try and match the uid with freenas but when i created one is uses 1002 for it instead of my uid although i dont fully understand BSD/FreeNas and as btrfs is about production ready will create btrfs nas soon anyway. Love the idea of using LDAP but do not know much about it, do you know of a good guide on it or where i could learn to use it. Freenas supports it i know.
birdog
Level 1
Level 1
 
Posts: 8
Joined: Wed May 25, 2011 8:04 pm

Re: NFS permissions nag

Postby ktheking on Fri Aug 15, 2014 12:19 pm

Try this instead of freenas : clearos community version

http://www.clearfoundation.com/Software/overview.html

It comes with a lot of features ,and provides more then the freenas. It even provides LDAP ,and active directory , etc.
User avatar
ktheking
Level 4
Level 4
 
Posts: 274
Joined: Tue May 13, 2014 9:13 am


Return to KDE

Who is online

Users browsing this forum: No registered users and 6 guests