Laurenz, Dirk
2004-Nov-10 09:01 UTC
[Samba] dos filetimes = yes is not correctly used? - utime function calls fail (Version 3.0.7)
Hello everbody,
this is really urgent.
at the moment the status is as follows:
We changed the primafy group to a group without german characters:
"?,?,?".
It works fine, as long as the primary group as full access to the file.
If not, it doesn't work.
The Problem in detail:
Situation 1:
User is member of DOMAIN+GROUP.
DOMAIN+GROUP is owner of file
utime is called and everything is fine
Situation 2:
User is member of DOMAIN+GROUP
DOMAIN+GROUP has only full access via posix acl
utime is called and fails
Situation 3:
User is member of DOMAIN+GROUP
DOMAIN+GROUP is member of local group group_rw
group_rw has only full access via posix acl
utime is called and fails
I found one article on the net concerning this problem:
http://lists.samba.org/archive/samba-technical/2004-February/034230.html
Has anyone a solution for this problem?
The directive dos filetimes = yes must be working fine with posix acl. E.g
Situation 3 must be
working fine and is the preffered setup.
Will 3.0.8 solve this issue?
Mit freundlichem Gru?,
Dirk Laurenz
Systems Engineer
Fujitsu Siemens Computers
Sales Central Europe Deutschland
Professional Service Organisation Nord / Ost
Hildesheimer Strasse 25
30880 Laatzen
Germany
Telephone: +49 (511) 84 89 - 18 08
Telefax: +49 (511) 84 89 - 25 18 08
Mobile: +49 (170) 22 10 781
Email: mailto:dirk.laurenz@fujitsu-siemens.com
Internet: http://www.fujitsu-siemens.com
http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleistungen/competencecenter.html
*******************************************************************************************************************
-| -----Original Message-----
-| From: Laurenz, Dirk
-| Sent: Monday, November 01, 2004 4:03 PM
-| To: Laurenz, Dirk; 'samba@lists.samba.org'
-| Subject: RE: [Samba] Problem with 3.0.7 - set_filetime
-|
-| Hi,
-|
-| it seems to if the user has the primary group Dom?nen-Benutzer
-| (missdisplayed as:
-| getent group | awk -F':' '{print $1 "," $3}' |
grep
-| Benutzer |grep 10000
-| DOM+Dom??nen-Benutzer,10000
-| )
-| and here the id output of the user:
-| AGESTT74:/etc/samba # su - DOM+testuser
-| DOM+testuser@AGESTT74:/etc/samba> id
-| uid=10000(DOM+fscadmin) gid=10000(DOM+Dom??nen-Benutzer) groups=....
-|
-| If the primary group is something else like e.g.
-| "DOM+testgroup" everything seems to be fine.
-| I'm working on that issue.....
-|
-| How can i get the Group DOM+Dom??nen-Benutzer displayed
-| correctly as Dom?nen-Benutzer?
-|
-|
-| Mit freundlichem Gru?,
-|
-|
-|
-| Dirk Laurenz
-| Systems Engineer
-|
-| Fujitsu Siemens Computers
-| Sales Central Europe Deutschland
-| Professional Service Organisation Nord / Ost
-|
-| Hildesheimer Strasse 25
-| 30880 Laatzen
-| Germany
-|
-| Telephone: +49 (511) 84 89 - 18 08
-| Telefax: +49 (511) 84 89 - 25 18 08
-| Mobile: +49 (170) 22 10 781
-| Email: mailto:dirk.laurenz@fujitsu-siemens.com
-| Internet: http://www.fujitsu-siemens.com
-|
-| http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleis
-| tungen/competencecenter.html
-| ************************************************************
-| *******************************************************
-|
-|
-| -| -----Original Message-----
-| -| From: Laurenz, Dirk
-| -| Sent: Monday, November 01, 2004 3:03 PM
-| -| To: Laurenz, Dirk; 'samba@lists.samba.org'
-| -| Subject: RE: [Samba] Problem with 3.0.7 - set_filetime
-| -|
-| -| Hi,
-| -|
-| -| what i found is, that samba really tries to set the old time:
-| -|
-| -| 14:54:09 utime("PATH/file", [2004/11/01-14:53:16,
-| -| 2004/11/01-14:53:16]) = -1 EPERM (Operation not permitted)
-| -|
-| -| but it is not allowed. Why?
-| -|
-| -| Mit freundlichem Gru?,
-| -|
-| -|
-| -|
-| -| Dirk Laurenz
-| -| Systems Engineer
-| -|
-| -| Fujitsu Siemens Computers
-| -| Sales Central Europe Deutschland
-| -| Professional Service Organisation Nord / Ost
-| -|
-| -| Hildesheimer Strasse 25
-| -| 30880 Laatzen
-| -| Germany
-| -|
-| -| Telephone: +49 (511) 84 89 - 18 08
-| -| Telefax: +49 (511) 84 89 - 25 18 08
-| -| Mobile: +49 (170) 22 10 781
-| -| Email: mailto:dirk.laurenz@fujitsu-siemens.com
-| -| Internet: http://www.fujitsu-siemens.com
-| -|
-| -| http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleis
-| -| tungen/competencecenter.html
-| -| ************************************************************
-| -| *******************************************************
-| -|
-| -|
-| -| -| -----Original Message-----
-| -| -| From: Laurenz, Dirk
-| -| -| Sent: Monday, November 01, 2004 2:01 PM
-| -| -| To: Laurenz, Dirk; samba@lists.samba.org
-| -| -| Subject: RE: [Samba] Problem with 3.0.7 - set_filetime
-| -| -|
-| -| -| Hi,
-| -| -|
-| -| -| a more specific subject...
-| -| -|
-| -| -|
-| -| -| -| -----Original Message-----
-| -| -| -| From:
-| -| -| -|
-| samba-bounces+dirk.laurenz=fujitsu-siemens.com@lists.samba.o
-| -| -| -| rg
-| -| -| -|
-| [mailto:samba-bounces+dirk.laurenz=fujitsu-siemens.com@lists
-| -| -| -| .samba.org] On Behalf Of Laurenz, Dirk
-| -| -| -| Sent: Monday, November 01, 2004 1:48 PM
-| -| -| -| To: samba@lists.samba.org
-| -| -| -| Subject: [Samba] Problem with 3.0.7
-| -| -| -|
-| -| -| -| Hello everybody,
-| -| -| -|
-| -| -| -| when accessing a file, (opening and closing it,
-| excel tries
-| -| -| -| to restore old times.
-| -| -| -|
-| -| -| -| I can delete the file, rename and everything
-| else, but i'm
-| -| -| -| not able to reset the times....
-| -| -| -| Owner of the file is user2 which is also member
-| of group 1.
-| -| -| -|
-| -| -| -| If i create a file and user1 opens it, the
-| access times are
-| -| -| -| reset correctly. (same share, directory)
-| -| -| -|
-| -| -| -| i have the following error message:
-| -| -| -|
-| -| -| -| xxxxxxxx.log.old:[2004/11/01 13:36:03, 4,
-| effective(10000,
-| -| -| -| 10000), real(10000, 0)] smbd/dosmode.c:set_filetime(491)
-| -| -| -| xxxxxxxx.log.old: set_filetime(Test/owner - ob
-| -| -| -| -laurenz.xls) failed: Operation not permitted
-| -| -| -| xxxxxxxx.log.old:[2004/11/01 13:36:03, 4,
-| effective(10000,
-| -| -| -| 10000), real(10000, 0)] smbd/dosmode.c:set_filetime(491)
-| -| -| -| xxxxxxxx.log.old: set_filetime(Test/owner - ob
-| -| -| -| -laurenz.xls) failed: Operation not permitted
-| -| -| -|
-| -| -| -| The share it self has the following options:
-| -| -| -| browseable = yes
-| -| -| -| inherit permissions = yes
-| -| -| -| writable = yes
-| -| -| -| admin users = XXXXXXXX
-| -| -| -| hide unreadable = yes
-| -| -| -| path = /somepath
-| --> all
-| -| -| -| lower case
-| -| -| -| hide files = /lost+found/
-| -| -| -| hide dot files = yes
-| -| -| -| hide special files = yes
-| -| -| -| inherit acls = yes
-| -| -| -| dos filetimes = yes
-| -| -| -| dos filemode = yes
-| -| -| -| fake directory create times = yes
-| -| -| -| dos filetime resolutions = yes
-| -| -| -| store dos attributes = yes
-| -| -| -| map hidden = no
-| -| -| -| map archive = no
-| -| -| -| map system = no
-| -| -| -|
-| -| -| -| The user wich access the file has full control via acl:
-| -| -| -| (user with uid 10000 is member of samba group group1
-| -| -| -|
-| -| -| -| $SERVER:$PATH # getfacl owner\ -\ ob\ -laurenz.xls
-| -| -| -| # file: owner - ob -laurenz.xls
-| -| -| -| # owner: XXXXXX+user1
-| -| -| -| # group: XXXXXX+XXXXXX
-| -| -| -| user::rwx
-| -| -| -| user:XXXXXX+user1:rwx
-| -| -| -| group::rwx
-| -| -| -| group:group1:rwx
-| -| -| -| mask::rwx
-| -| -| -| other::---
-| -| -| -|
-| -| -| -| Any ideas?
-| -| -| -|
-| -| -| -|
-| -| -| -| Mit freundlichem Gru?,
-| -| -| -|
-| -| -| -|
-| -| -| -|
-| -| -| -| Dirk Laurenz
-| -| -| -| Systems Engineer
-| -| -| -|
-| -| -| -| Fujitsu Siemens Computers
-| -| -| -| Sales Central Europe Deutschland
-| -| -| -| Professional Service Organisation Nord / Ost
-| -| -| -|
-| -| -| -| Hildesheimer Strasse 25
-| -| -| -| 30880 Laatzen
-| -| -| -| Germany
-| -| -| -|
-| -| -| -| Telephone: +49 (511) 84 89 - 18 08
-| -| -| -| Telefax: +49 (511) 84 89 - 25 18 08
-| -| -| -| Mobile: +49 (170) 22 10 781
-| -| -| -| Email: mailto:dirk.laurenz@fujitsu-siemens.com
-| -| -| -| Internet: http://www.fujitsu-siemens.com
-| -| -| -|
-| -| -| -|
-| http://www.fujitsu-siemens.de/rl/servicesupport/itdienstleis
-| -| -| -| tungen/competencecenter.html
-| -| -| -|
-| ************************************************************
-| -| -| -| *******************************************************
-| -| -| -|
-| -| -| -| --
-| -| -| -| To unsubscribe from this list go to the following URL
-| -| -| and read the
-| -| -| -| instructions:
-| http://lists.samba.org/mailman/listinfo/samba
-| -| -| -|
