allowing full access to files
don_mccall at hp.com
Thu Mar 22 15:01:07 GMT 2001
the share option 'share modes' control whether a file is opened using this
lock; it's NOT recommended to turn this off, because you could then have the
where 2 people could open the file and modify it at the same time, and get
on the file. However, since it's a share option, you COULD make a share to
a directory that has ONLY this file (or otherfiles that you guarantee will
only be accessed for writing by a single user) and set share modes = no for
that share. Be aware that some ms applications will fail if they cannot
verify that they got this type of lock however - you'll just have to
experiment to see if your application will allow this.
Hope this helps,
From: Joe_Pfaltzgraff at patapsco.com [mailto:Joe_Pfaltzgraff at patapsco.com]
Sent: Wednesday, March 21, 2001 4:09 PM
To: samba at us5.samba.org
Subject: allowing full access to files
Joe Pfaltzgraff at PATAPSCO
03/21/2001 04:08 PM
Here is the situation:
/samba/public/Phone.doc (symlink to above file)
PersonB opens the Phone.doc in the public share with read-only access.
wants to open the Phone.doc in their user area with full access in order to
modify the file. However Word will only open the file read-only. When I
smbstatus, it shows that PersonB has the file open and the DenyMode =
DENY_WRITE. Is there a a way to prevent personB from obtaining any lock on
file, so personA can have full access to it?
I've tried "fake oplocks" but it isn't an oplock that the person has on the
I thought that by having personB access the file through a symlink, samba
lock it as a seperate file from the original file, But I guess that samba is
smart for that.
Any help or ideas will be greatly appreciated.
To unsubscribe from this list go to the following URL and read the
More information about the samba