ADTPro on Linux problem: Permission denied

2 replies [Last post]
tkh
Offline
Joined: Jun 26 2013
Posts: 34

I am running ADTPro 1.3.0 on my Fedora system (v20, x86_64, Linux 3.14.4). I encountered this problem:

check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.<br />
please see: How can I use Lock Files with rxtx? in INSTALL

This doesn't occur when I run it as superuser. I had already include my user in lock group and also check the permission on /var/lock.
What might be the problem?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Apr 11 2006
Posts: 1013
Re: ADTPro on Linux problem: Permission denied

tkh wrote:

This doesn't occur when I run it as superuser.

If you run as root and then run as some other user, root-only permissions may be left on lock files or /var/lock.

tkh
Offline
Joined: Jun 26 2013
Posts: 34
Re: ADTPro on Linux problem: Permission denied

thank you for your reply!
here is a little extra info on my system regarding the problem.
I myself have quite enough background on Linux system to explain, but not to come out with solution.
so, if you can bear with me...

/var/lock is a link to /run/lock, in which /run is a tmpfs mounted dir.
/run/lock has permission of access 0755 with ownership of 0:0
everything in /var/lock is owned by root except for /var/lock/lockdev, which is owned by root:lock and access 0775