Bug 4278 - Force group does not aplpy to admin users
Force group does not aplpy to admin users
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.20b
x86 Linux
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-04 01:50 UTC by Leon Prinsloo
Modified: 2007-02-07 02:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Prinsloo 2006-12-04 01:50:41 UTC
I have two admin users who are in a number of groups who have access to all directories. The groups are for example ABC and ACF I have set force group and inherit permissions on said folder but when one of these two admin users touch a file in any way, the group changes from ACF to ABC.  This happens no matter what permissions I set.  The permissions I have not set is the sticky bit.

This has been happaening since 3.0.10  This is urgent as I cannot always be forcing the group each time the users touch a file.


Sorry the system is Suse 10.0 on x86

Regards

Leon
Comment 1 RainerT 2007-02-05 09:26:07 UTC
Hi,

I can confirm but not with normal file operations (eg. in explorer open/close).

Here it is a sync app on a XP SP2 Notebook called 'allway sync' which ignores the sticky bit. Creating the file locally and syncing to the server does this:

# 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 awomgmt 2151561 24. Jan 12:07 SCN_20070122100735_001.pdf

# id cmueller
uid=24444(cmueller) gid=1001(awomgmt) Gruppen=1001(awomgmt),1000(awo),1004(sales)

Share:
[Awo]
        comment = Awo Daten
        path = /shares/Awo
        valid users = @awo
        read only = No
        create mask = 0660
        directory mask = 0770  

Sys: Redhat El4.4 i386, samba 3.0.23d from sernet, ext3
Comment 2 RainerT 2007-02-07 02:26:52 UTC
For completeness my share config:

[Awo]
        comment = Awo Daten
        path = /shares/Awo
        valid users = @awo
        read only = No
        create mask = 0660
        directory mask = 0770 

I have no force group nor force user, it's just that samba seems to ignore the sticky bit.