[Samba] application 'allway sync' evades sticky bit?!

Michael Gasch michael.gasch at eva.mpg.de
Thu Feb 8 19:24:51 GMT 2007


hi,

it's not the first time i see this. especially macs always manage to 
circumvent the permissions (even if enforced by the filesystem with 
ACLs)...i never found the time to trace things down with ethereal.

micha

Rainer Traut wrote:
> Hi,
> 
> am running:
> Redhat EL4.4 i386, Samba 3.0.23d from Sernet, ext3 fs
> Samba as PDC
> 
> Someone's got the idea to have one big share with access managed by 
> directory's sticky bit.
> This works perfectly well when normal XP or W2k clients work with their 
> explorer.
> 
> But: With 'allway sync', an app to synchronize for example between 
> laptop and fileserver the program is somehow able to circumvent the 
> sticky bit settings.
> 
> A file created locally on the notebook and synced to the server hast the 
> wrong group rights:
> 
> # ls -la
> insgesamt 2116
> drwxrws---   2 cmueller sales        4096  5. Feb 15:14 .
> drwxrws---  25 root     sales        4096  5. Feb 15:14 ..
> -rw-rw----   1 cmueller awaromgmt 2151561 24. Jan 12:07 
> SCN_20070122100735_001.pdf
> 
> # id cmueller
> uid=24444(cmueller) gid=1001(awaromgmt) 
> Gruppen=1001(awaromgmt),1000(awaro),1004(sales)
> 
> The sticky bit is set but the file belongs to the user's primary group!
> 
> A file created in Explorer is fine though...
> How is this possible?
> 
> Thx
> Rainer



More information about the samba mailing list