samba@lists.samba.org
[Top] [All Lists]

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

Subject: [Samba] application 'allway sync' evades sticky bit?!
From: Rainer Traut
Date: Mon, 05 Feb 2007 15:34:48 +0100
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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

<Prev in Thread] Current Thread [Next in Thread>