Need help fixing Samba 4/Windows permissions problem 9.2.1.6

Status
Not open for further replies.

esamett

Patron
Joined
May 28, 2011
Messages
345
I have corrupted my Windows permissions and plan to move all my files to a new volume with Windows ACL as recommended in this Forum.

Will my file's permissions be fixed if I Cut/Paste the files using Windows Explorer, or rsync -a from FreeNAS, from my old volume to my new volume? I prefer to use rsync since it would avoid my data traversing my network twice.

If I need to fix the permissions as well I have to use setfacl. The setfacl manual page exceeds my level of understanding. I need to know the command to use.

Thank you in advance.

AMD 8 core cpu
16GB ECC ram

evan
 

esamett

Patron
Joined
May 28, 2011
Messages
345

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
That winacl command basically gives "root" full permissions. You'll need to authenticate as root to the share and then change the permissions accordingly.
 

esamett

Patron
Joined
May 28, 2011
Messages
345
I had entered the commands from the "Shell" on web interface. I was unsuccessful (some items changes, some not) as linked above. Is this different from if I plug into the NAS box directly and use command line?

Forgive my Noobness, which syntax do you recommend? I tried these:
winacl -a reset -rp /mnt/tank

winacl - add -rp /mnt/tank

[root@freenas ~]# winacl -a add -rp /mnt/tank

[root@freenas ~]# winacl -a update -rp /mnt/tank

[root@freenas ~]# winacl -a reset -rxp /mnt/tank

 
Status
Not open for further replies.
Top