Thanks Jay, sounds like a handy trick to have up my sleeve, but it
didn't help in this case, I still get the same error.

However, I have found that the details I gave above appear to be
wrong.  It now looks like it's not /B causing this, it's /COPYALL.  I
suspect that's an error on my part rather than something caused by a
change on the system.

It also seems that Robocopy is setting the modified date correctly on
files, it's only folders that have the wrong date.  And after double
checking this, the exact same behaviour occurs in windows.

And that means that although I get these errors with /COPYALL, I can
use a slightly modified command to do everything I want, transferring
security settings and modified dates with no errors:

robocopy <source> <destination> /E /B /SEC /R:1 /W:1

Thanks for the help everyone.

Ross



On Mon, Jun 22, 2009 at 8:17 PM, Jay Anderson<[email protected]> wrote:
> I have not found the "Administrators" or "Backup Operators" local groups to 
> be helpful at all with CIFS Server.
>
> What I have done to use Robocopy successfully is to set a unidirectional 
> idmap rule for the winuser running Robocopy to be unixuser:root:
>
> idmap add -d winuser:[email protected] unixuser:root
>
> Good luck.
>
>> Hi guys,
>>
>> Well, I tried adding myself to backup operators, but
>> unfortunately it
>> had no effect on the error message from Robocopy:
>>
>> ERROR 1336 (0x00000538) Copying NTFS Security to
>> Destination
>>  Directory c:\farmd7
>> he access control list (ACL) structure is invalid.
>>
>> Ross
>>
>>
>> On Fri, Jun 19, 2009 at 6:57 PM, Afshin
>> Salek<[email protected]> wrote:
>> > Yes, it does. You can make your Windows user
>> directly a member
>> > of local Backup Operators groups and you don't need
>> to have any
>> > idmap rules if not required:
>> >
>> > # smbadm add-member -m <domain/username> "backup
>> operators"
>> >
>> > Note that currently only users can be a member of
>> local groups.
>> >
>> > Afshin
>> >
> --
> This message posted from opensolaris.org
> _______________________________________________
> cifs-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
>
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to