How to allow extended attributess on CIFS / Samba ?

Status
Not open for further replies.

Boo

Cadet
Joined
Feb 3, 2014
Messages
2
Hi,

I have also run into the same problem as that described in the closed thread with the same name here but have not been able to resolve it by performing the suggested actions.

I have copied a bunch of files over via Robocopy but they all have the wrong directory creation dates. I tried to overwrite them with the robocopy /dcopy:t option but that gives the "Access denied" error message.

I then logged in to freenas as root via SSH and performed the following :

Code:
[root@Owen] ~# getfacl /mnt/Owen_shared/
# file: /mnt/Owen_shared/
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:------:allow
            group@:rwxp--a-R-c--s:------:allow
        everyone@:rwxp--a-R-c--s:------:allow
[root@Owen] ~# setfacl -m group@:rwxpDdaARWcCos:fd----:allow /mnt/Owen_shared
[root@Owen] ~# setfacl -m everyone@:rwxpDdaARWcCos:fd----:allow /mnt/Owen_shared
[root@Owen] ~# getfacl /mnt/Owen_shared
# file: /mnt/Owen_shared
# owner: root
# group: wheel
            owner@:rwxp--aARWcCos:------:allow
            group@:rwxpDdaARWcCos:fd----:allow
        everyone@:rwxpDdaARWcCos:fd----:allow


It seems as if the owner attributes are not quite correct, is that true ?

Anyway, when I next ran the robocopy commmand it still gives the "Access denied" message so I must have done something wrong.

Any suggestions gratefully received...

Thanks

Boo
 
Status
Not open for further replies.
Top