[Rxtx] Lock files under Fedora 14
Juan Antonio Farré Basurte
jafb at tinet.org
Sun Nov 7 14:32:39 MST 2010
Looks like lock-file directory has changed in version 14 of fedora.
Now /var/lock is only writable by root.
There's a new directory /var/lock/lockdev that is writable by all members
of the lock group.
The thing is that rxtx looks to still want to write to /var/lock and it
can, no matter my user is in the lock group.
How can I change rxtx behavior?
May be there should be some environment variable or configuration file in
my linux distro that points to the correct lock-file directory, and rxtx
should (but doesn't) use it?
Or the only way is to hard code the desired directoy when compiling rxtx?
I took a look to "configure" options when compiling. I only see as
relevant options the following ones:
--disable-lockfiles -> I don't want this
--enable-liblock=x -> I don't know what this means and how would then
--enable-lockfile_server -> May be this is a possible solution?
But I don't find a way to change lock-file directory without changing
source files themselves.
Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rxtx