[Samba] File locks issue

Maxime Woznicki maxime.woznicki at club-internet.fr
Tue Aug 9 10:01:59 GMT 2005


Thx for your help.

Another question :

What does this exactly means :

	vfs object = recycle:recycle
	recycle:repository = .deleted
	recycle:keeptree = Yes
	recycle:touch = Yes
	recycle:versions = Yes


?

Max

Liz Ackerman wrote:

>Maxime, you are still not telling me what files users are accessing and
>getting the message.  Are they Microsoft Word and Excel and Access
>documents?  Microsoft Office default templates???
>
>I will explain what my users are doing and how I made that work.
>
>Each user has their own folder.  They create, update, change and delete
>files in this folder and must have all ownership and accesses.  In a
>Terminal session I ran a command of:
>
>chown ownername *.* -R to make the owner the user
>chgrp ownername *.* -R to make the group the user (if you setup users as
>groups too, I used a group called Everyone which all users are a member of)
>
>Then
>
>chmod g+s *.* -R  to set the group and user on everything.  The -R is to
>ensure that the permissions flow down the file structure, so all folders and
>files get set.
>
>In my Samba shares, here is how I set permissions:
>
>
>[home2]- this where all users have their own directory, so me I am liza
>	comment = Everyone's Home Directory
>	path = /home2
>	writeable = yes
>	guest ok = yes
>
>[accting]
> - this is where the Accounting department have their Quickbooks files, you
>can see where I commented out things that didn't work :)  I also use the
>force group and force user.  Quickbooks is in multiuser mode, and it was the
>most challenging to get to work properly.  Make sure you have a good backup
>copy of the database files if they get corrupted.  We had several
>corruptions before I could get it to work.
>
>	comment = Accounting Volume
>	path = /accting
>	writeable = yes
>	valid users = liza, rhea, stephen, tammy
>	oplocks = no
>	level2 oplocks = no
>;	veto oplock files = /*.*db/*.ldb/*.mde/*.xls/*.qb*/*.QB*/*.LDB/*.L*/*.*/
>;	blocking locks = no
>;	locking = yes
>;	strict locking = no
>;	share modes = no
>	force group = accounting
>	force user = root
>	inherit permissions = yes
>	create mask = 0771
>	directory mask = 0771
>;	force create mode = 0777
>;	force directory security mode = 0777
>	vfs object = recycle:recycle
>	recycle:repository = .deleted
>	recycle:keeptree = Yes
>	recycle:touch = Yes
>	recycle:versions = Yes
>
>[Data]
>- this is where all other folders and documents live.  Anyone can access
>here and anyone can do anything to a file.  Mostly Word and Excel,
>Powerpoint files.
>	comment = Data
>	path = /home2/Data
>	writeable = yes
>	guest ok = yes
>	veto oplock files = /*.mdb/*.ldb/*.mde/
>	oplocks = no
>	level2 oplocks = no
>	blocking locks = no
>	locking = no
>	strict locking = no
>	share modes = yes
>
>Hopefully you can try some of this and see if it works.
>
>Liz
>
>
>  
>



More information about the samba mailing list