dealy663
Dabbler
- Joined
- Dec 4, 2021
- Messages
- 32
I've been working with Scale TrueNAS-SCALE-22.02-RC.2 for a few weeks now and generally like what I'm seeing. I've been slowly migrating data over to this new machine and OS.
I've run into a snag I can't figure out. I have a couple of disks whose content I wanted to move over to a dataset on truenas.Using the Finder on the Mac to send terabytes of data over to truenas had some issues. So I dropped into a terminal and issued $> mv disk1/dirname/* /Volumes/truenas/smbshare/disk1/dirname
This copies over the files apparently but then errors out when trying to set the permissions on the files with the following:
mv: /Volumes/permTest/org/org-roam/20220110180530-offsite.org: fchmod failed: Permission denied
This of course borks the mv command and nothing is deleted on disk1. I've tried everything I could think of in the UI to set appropriate permissions with both ACLs and then reverting back to standard unix permissions. Nothing worked. Finally I just set everyone to full control on both the dataset and the smb share and it still won't allow me to move files as I expected to.
It sounds like this is specificaly disabled, but I don't quite get why that would be the case. If this is indeed intentional, is there some other way of setting permissions or handling the moving of files to smb shares on truenas? Is the expectation that people won't want to move files and be able to preserve permissions on the filesystem share?
Thanks, for any help or useful explanations.
Derek
I've run into a snag I can't figure out. I have a couple of disks whose content I wanted to move over to a dataset on truenas.Using the Finder on the Mac to send terabytes of data over to truenas had some issues. So I dropped into a terminal and issued $> mv disk1/dirname/* /Volumes/truenas/smbshare/disk1/dirname
This copies over the files apparently but then errors out when trying to set the permissions on the files with the following:
mv: /Volumes/permTest/org/org-roam/20220110180530-offsite.org: fchmod failed: Permission denied
This of course borks the mv command and nothing is deleted on disk1. I've tried everything I could think of in the UI to set appropriate permissions with both ACLs and then reverting back to standard unix permissions. Nothing worked. Finally I just set everyone to full control on both the dataset and the smb share and it still won't allow me to move files as I expected to.
It sounds like this is specificaly disabled, but I don't quite get why that would be the case. If this is indeed intentional, is there some other way of setting permissions or handling the moving of files to smb shares on truenas? Is the expectation that people won't want to move files and be able to preserve permissions on the filesystem share?
Thanks, for any help or useful explanations.
Derek