Permissions Issue with SMB?

Status
Not open for further replies.

TriBeard

Cadet
Joined
Jul 6, 2017
Messages
3
I am trying to redirect a mysql database for a photo sharing app to a shared folder on my FreeNAS box. This is just for personal use, so I'm not too concerned with any possible performance limitations of this implementation. However, no matter what I do as far as users go, I am getting permission denied errors when trying to copy files to the freenas box from the VM. I have the share mounted with fstab and it works fine to create files in manually, but if I try to rsync the mysql directory to it and keep permissions, it fails. I can post any kind of error log or output that would be helpful.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I am trying to redirect a mysql database for a photo sharing app to a shared folder on my FreeNAS box. This is just for personal use, so I'm not too concerned with any possible performance limitations of this implementation. However, no matter what I do as far as users go, I am getting permission denied errors when trying to copy files to the freenas box from the VM. I have the share mounted with fstab and it works fine to create files in manually, but if I try to rsync the mysql directory to it and keep permissions, it fails. I can post any kind of error log or output that would be helpful.

The zfs aclmode might be preventing rsync from keeping permissions. Create a new dataset / samba share, but this time set permissions type to "Unix" and try it again.
 

TriBeard

Cadet
Joined
Jul 6, 2017
Messages
3
The zfs aclmode might be preventing rsync from keeping permissions. Create a new dataset / samba share, but this time set permissions type to "Unix" and try it again.

upload_2017-7-6_16-29-39.png


Is this what you mean? If so, I've had it created with Unix permissions from the start. If you mean NFS vs SMB then I have it configured as SMB (samba).
 

Attachments

  • upload_2017-7-6_16-28-17.png
    upload_2017-7-6_16-28-17.png
    33 KB · Views: 266

TriBeard

Cadet
Joined
Jul 6, 2017
Messages
3
Here is the debug.
 

Attachments

  • debug-freenas-20170707082350.tgz
    554.8 KB · Views: 312
Status
Not open for further replies.
Top