User with read only access can deny write.

Gerald (Jerry) Carter jerry at
Tue Feb 4 06:34:01 GMT 2003

Hash: SHA1

On Fri, 31 Jan 2003, Ola Lundqvist wrote:

> I have got a small problem. The thing is that if one use
> A open a file in microsoft word without having write access
> to the file the file become locked.
> >From smbstatus:
> 19717  DENY_WRITE RDONLY     NONE             /home/pathtofile
> The problem is that all other users can not write to the file
> because it is locked. This is a problem here because some users need
> to be able to write the file while other just have read access.
> You could say that it is a bug in word but on the other hand it
> should really be possible to deny write whily you do not have write
> permission.

This would make sense but you need to confirm that NT does was makes 

> I assume that this is a bug, i.e. no check is performed to determine
> if a user really can deny write to other users. Or is this a design
> flaw in samba?

Please try to reproduce this against an NT/2k print server.  I'll bet you 
see similar behavior.  If not. then it is our bug.

cheers, jerry
 Hewlett-Packard            -------------------------
 SAMBA Team                 ----------------------
 GnuPG Key                  ----
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see


More information about the samba-technical mailing list