[Samba] read-only file problem

spu at corman.be spu at corman.be
Thu Jun 9 14:19:33 GMT 2005


Hi,

I have a little problem :

Some user have problem with file is read-only mode
But all unix acl and posix acl are correct :

ls -l
drwxrwx---+  19 root     Utilisateurs     4096 jun  9 11:33 STEPHANE
-rwxrwx---+   1 root     Utilisateurs  1027584 jun  7 14:33 dossier
fraise.ppt

getfacl: Removing leading '/' from absolute path names
# file: rsrv/vol2/data1/groupes/CRDMAR/STEPHANE/dossier\040fraise.ppt
# owner: root
# group: Utilisateurs
user::rwx
group::---
group:crdmar:rwx
mask::rwx
other::---

The user etucrd is member of "Utilisateurs" and "crdmar" group
The "Utilisateurs" group is the group which contains all user of my domain
(is mapped to Domain Users)
The crdmar group is the group wich have autority to read and write
document.
The client is a windows 2000 pro with office 97 SR-1

In log :
[2005/06/09 12:54:07, 3] smbd/vfs.c:reduce_name(837)
  reduce_name [CRDMAR/STEPHANE/dossier fraise.ppt]
[/rsrv/vol2/data1/groupes]
[2005/06/09 12:54:07, 3] smbd/vfs.c:reduce_name(943)
  reduce_name: CRDMAR/STEPHANE/dossier fraise.ppt reduced to (null)
[2005/06/09 12:54:07, 2] smbd/dosmode.c:unix_mode(60)
  unix_mode(CRDMAR/STEPHANE/dossier fraise.ppt) inheriting from
CRDMAR/STEPHANE
[2005/06/09 12:54:07, 2] smbd/dosmode.c:unix_mode(68)
  unix_mode(CRDMAR/STEPHANE/dossier fraise.ppt) inherit mode 40770
[2005/06/09 12:54:07, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(CRDMAR/STEPHANE/dossier fraise.ppt) returning 0760
[2005/06/09 12:54:07, 3] smbd/vfs.c:reduce_name(837)
  reduce_name [CRDMAR/STEPHANE/dossier fraise.ppt]
[/rsrv/vol2/data1/groupes]
[2005/06/09 12:54:07, 3] smbd/vfs.c:reduce_name(943)
  reduce_name: CRDMAR/STEPHANE/dossier fraise.ppt reduced to (null)
[2005/06/09 12:54:07, 2] smbd/open.c:open_file(245)
  etucrd opened file CRDMAR/STEPHANE/dossier fraise.ppt read=Yes write=No
(numopen=1)

The description of the share is :

[groupes]
        comment = GROUPES
        path = /rsrv/vol2/data1/groupes
        read only = No
        inherit permissions = Yes
        inherit acls = Yes
        hide unreadable = Yes

        create mask = O770
        directory mask = 0770

        # security mask = 0770
        # directory security mask = 0770

        force directory mode = 0770

can anyone help me


      Stéphane

-----------------------------------
Stéphane PURNELLE                         stephane.purnelle at corman.be
Service Informatique       Corman S.A.           Tel : 00 32 087/342467


More information about the samba mailing list