file locking

Alexandre Julliard julliard at winehq.org
Wed Jul 13 10:18:19 CDT 2005


Brian Vincent <brian.vincent at gmail.com> writes:

> I've been playing around with file locking and Wine, namely the fact
> that Wine doesn't have any.

Wine has quite a bit of it actually.

> Is there any way around this, maybe placing the burden on a
> filesystem?  If I wanted to share files between two different users
> (say with something dumb like file permissions 666), is there any way
> to prevent the two people from stomping on each other?

If you want mandatory locking then yes this has to be done at
the filesystem level, by setting the proper mount option and
permissions. man fcntl should give you the gritty details.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list