cmus-control icon indicating copy to clipboard operation
cmus-control copied to clipboard

PID File

Open TheFox opened this issue 9 years ago • 1 comments

WARNING: Can't write in /var/run

To use PROJECT_USE_PID_FILE it's nesessary to run the process under daemon group:

~$ ls -lad /var/run
drwxrwxr-x  33 root  daemon  1122 27 Apr 19:02 /var/run

Maybe setgid() can be used to achieve this.


ps -eo pid,uid,ruid,gid,rgid,comm | grep cmus

TheFox avatar Apr 29 '16 07:04 TheFox

Using M3 Pro, macOS Sequoia 15.4

~$ ls -lad /var/run
drwxrwxr-x 41 root daemon 1312 May 18 10:58 /var/run

TheFox avatar May 18 '25 20:05 TheFox