Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-24-2005, 05:17 AM
|
#1
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
How does minicom write to /var/lock
I'm trying to figure out how the minicon program can write to the directory /var/lock when it's executed by a normal user.
minicom is owned by root/uucp and the permissions are
-rwxr-xr-x.
/var/lock is owned by root/lock and the permissions are
drwxrwxr-x.
The user is neither a member of uucp nor of lock.
When running the program as a normal user, 3 files are created in /var/lock; they are owned by the normal user and the group is lock.
Can anybody explain? I've tried to figure it out from the sourcecode (of a newer version), but till now I'm stuck.
PS: OS=RH8
|
|
|
10-25-2005, 01:54 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
What user does the minicon process itself run as? If its a daemon it likely runs as root regardless of who owns the binary.
|
|
|
10-26-2005, 03:28 AM
|
#3
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
Original Poster
|
minicom is a terminal program
Code:
ps -ef |grep minicom
wim 2034 1354 0 10:25 pts/3 00:00:00 minicom
|
|
|
All times are GMT -5. The time now is 12:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|