User with read only access can deny write.

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


-----BEGIN PGP SIGNED MESSAGE-----
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 
sense.

> 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            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+P17aIR7qMdg1EfYRAjCYAKCdsycTPqg35xccWczQ23x2dP2jygCg7ZS2
kjVOw1MwVsL0hk1Jh7JD9QU=
=Z656
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list