Hi, I'm looking to share a dataset from my FreeNAS 11.1 server to my Mac and Ubuntu machines, I currently have no Windows machines and don't plan to, at least for the foreseeable future.
From reading around a bit, I think an SMB share is my best option. I tried setting up a dataset with "share type Windows" and sharing this via SMB, and it works ok to mount and read/write normally from mac/linux, but I had problems rsync'ing to it*, presumably because "rsync -a" wants to preserve permissions and these are different to the Windows permissions on the share. This is a problem since generally I'd like to preserve my unix files' metadata and I'd like to use rsync. This link says that using sudo with rsync will work, but it sounds like a bad workaround (doesn't really tackle the problem of different permissions styles) and besides that I don't necessarily have the option of sudo for all users.
I also tried with "share type Unix" being shared with SMB. This seems to work fine (including rsync), but this forum thread and this docs comment say that it is not recommend. The caveats mentioned in the first (forum thread) link are not listed (I didn't want to resurrect an old thread to ask), but I believe it's due to Unix permissions not supporting Windows ACLs. My questions are: 1) Is this the only caveat? and 2) If so, am I'm right in thinking that this can never cause problems if I never use Windows?
Cheers!
Edit to add: *rsync error was: `rsync mkstemp operation not permitted`
From reading around a bit, I think an SMB share is my best option. I tried setting up a dataset with "share type Windows" and sharing this via SMB, and it works ok to mount and read/write normally from mac/linux, but I had problems rsync'ing to it*, presumably because "rsync -a" wants to preserve permissions and these are different to the Windows permissions on the share. This is a problem since generally I'd like to preserve my unix files' metadata and I'd like to use rsync. This link says that using sudo with rsync will work, but it sounds like a bad workaround (doesn't really tackle the problem of different permissions styles) and besides that I don't necessarily have the option of sudo for all users.
I also tried with "share type Unix" being shared with SMB. This seems to work fine (including rsync), but this forum thread and this docs comment say that it is not recommend. The caveats mentioned in the first (forum thread) link are not listed (I didn't want to resurrect an old thread to ask), but I believe it's due to Unix permissions not supporting Windows ACLs. My questions are: 1) Is this the only caveat? and 2) If so, am I'm right in thinking that this can never cause problems if I never use Windows?
Cheers!
Edit to add: *rsync error was: `rsync mkstemp operation not permitted`
Last edited: