[Samba] Samba4 : Problem setting folder and file permissions from windows box

François Moyson micdedi at free.fr
Fri May 25 07:19:38 MDT 2012


Hi,

Thanks for pointing me to this bug. I'm not sure whether it's the same 
thing happening here though.
Because at first everything was running fine. The only thing I did was 
backing up the sytem using rsync, which
did not preserve the extended attributes.

But as I said, copying those extended attribute back on homes and other 
folders didn't fix the issue either.
I may try to reboot the system maybe, but I also have another idea in 
the meantime :

I see that the linux to windows accounts mapping is still working, for 
example the "profiles" folder have users ownership like 3000029,
and the map correctly to AD users in windows.

So I might as well create linux groups including those numerical user 
IDs, and apply them directly from command line in linux to files and 
folders,
instead of using windows explorer and security tab.
And it would also solve the backups issue. Because I realize that my 
"rsnaphot" incremental backups don't save those xattributes eiter...

I will look into it further into it, post to 3938 if it is relevant.
Thanks again for reading my post.

regards,
micmac

Le 24/05/2012 17:43, steve a écrit :
> On 05/24/2012 03:39 PM, micmac wrote:
>> I found a Python script that can copy the xattr from one file to 
>> another,
>> sadly it didn't help at all...
>>
>> I'm completely desperate about a solution... and apparently people don't
>> care at all about what I'm
>> saying on this list.
>>
>> Here is the script, if it can be of use to some:
>>
>> http://game-sat.com/~brian/xattr.copy
>>
>> micmac
>>
>>
>> -- 
>> View this message in context: 
>> http://samba.2283325.n4.nabble.com/Samba4-Problem-setting-folder-and-file-permissions-from-windows-box-tp4632038p4632070.html
>> Sent from the Samba - General mailing list archive at Nabble.com.
> Hi
> I think you may be looking at the same bug as us:
> https://bugzilla.samba.org/show_bug.cgi?id=8938
>
> Briefly: posix to windows and windows to posix doesn't work at the 
> moment. I feel sure we are on the edge of an imminent fix. Please add 
> your test-case to 3938 if you think it relevant.
>
> Cheers,
> Steve
>



More information about the samba mailing list