Search Results

Search: Posts Made By: flagman5
Forum: Linux 05-15-2012
11,453
Posted By flagman5
hmm you are right, I wasn't being logical with my...
hmm you are right, I wasn't being logical with my testing.

if I have that line in, both a regular user and root have issues. (by line, i mean the code associated with using that variable as well,...
Forum: Linux 05-15-2012
11,453
Posted By flagman5
the file doesn't exist and I am trying to create...
the file doesn't exist and I am trying to create it. however, for the whole directory, the permissions are:

drwxr-xr-x 2 root root 4096 May 15 14:23 /var/lock/subsys



there are no more...
Forum: Linux 05-15-2012
11,453
Posted By flagman5
/var/lock/subsys permission denied for root
Hello

I have simple line of code here:

FILE *lockfp = fopen("/var/lock/subsys/processName", "w");


which is denied even running as root. The result is

locking failed for the following...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy