[Samba] read only share problem

danilomoretto at cantv.net danilomoretto at cantv.net
Thu Jan 11 16:22:57 GMT 2007


HI,

I have setup a samba share called DATOS it look like this:

[DATOS]
path = /data/datos
comment = QAQC y SHA
locking = no
admin users = zulloa2
write list = @qaqc, zulloa2
browseable = yes
public = yes
guest ok = yes
force create mode = 775
force directory mode = 775
read only = yes
force group = qaqc


in linux debian samba Version 3.0.14a-Debian

it work good, opening the documents read only for every one, and can write
with the user zulloa2 or the users in 
sha group.

The problem is, some time some files in this share appear in read only mode
for the user zulloa2...

all the files in the share are in 775

this is the smbstatus when the file appear in readonly

tipecasrv:~# smbstatus -u zulloa2

Samba version 3.0.14a-Debian
PID     Username      Group         Machine
-------------------------------------------------------------------
14974   zulloa2       zulloa2       sha          (192.168.0.3)

Service      pid     machine       Connected at
-------------------------------------------------------
DATOS        14974   sha           Thu Jan 11 07:01:38 2007
PUBLICO      14974   sha           Thu Jan 11 07:01:38 2007
IPC$         14974   sha           Thu Jan 11 12:12:01 2007
GESTION      14974   sha           Thu Jan 11 07:01:38 2007
CALIDADySHA   14974   sha           Thu Jan 11 07:01:38 2007

Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
14974  DENY_WRITE 0x20089     RDONLY     NONE            
/data/datos/QAQC/CONTINUACION.ppt   Thu Jan 11 11:41:02 2007
14974  DENY_NONE  0x2019f     RDWR       EXCLUSIVE+BATCH 
/data/datos/QAQC/ITOPMT.doc   Thu Jan 11 12:13:06 2007
14974  DENY_WRITE 0x20089     RDONLY     NONE            
/data/datos/QAQC/PGT.doc   Thu Jan 11 12:00:32 2007
14974  DENY_WRITE 0x20089     RDONLY     NONE            
/data/datos/QAQC/Copia de SISTEMA QAQC.pps   Thu Jan 11 11:40:57 2007



look that not all the files appears read only.... but is the same share an
folder...????

what happend? how can i do ?

when i do a /etc/init.d/samba restart 
so i can write them with zulloa2 user, but hours later the read only show
again...

Thanks




More information about the samba mailing list