You haven't stated what files are "invisible", where your files currently are located, what filesystem is on that location, what client access you have tried, or what the actual permissions error is.
It would go a long way to helping if you provided better details than "I tried through shares and it doesn't work"
The files I want to copy are on a external HDD connected to my mac via usb 2.0, the NAS box is hard wired via Ethernet cable. The files that randomly say are invisible are not hidden, they too are on the external HDD. The files that show an error for permissions are on the same external HDD. I’, new to this so I’m unsure what you mean by “client access” and “file system”. I will attach screenshots with this post for visual aide. Since I’m running OSX I thought it was only logical to have an apple share, even though OSX supports CIFS shares.
The AFP share is set up as follows:
Path:/mnt/volume/Media
Name: Mac_Share
Share Comment:
Allow List:
Deny List:
Read-Only Access:
Read-Write Access:
Time Machine
Zero Device Numbers:
No Stat:
AFP3 Unix Privs: Selected
Default file permissions: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (read)
Default directory permissions: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (Read, Write, Execute).
As for the storage datasets themselves their permissions are set as follows:
Owner (user): Root
Owner (group): Wheel
Mode: Owner (Read, Write, Execute), Group (Read, Write, Execute), Other (Read, Write, Execute).
Permission type: Mac
Dataset Options:
Compressions Level: Inherit (lz4)
Share Type: Mac
Enable atime: Inherit (on)
Quota for this dataset: 0
Quota for this dataset and all children: 0
Reserved space for this dataset: 0
Reserved space for this dataset and all children: 0
ZFS Deduplication: Inherit (off)