Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am. Many of my old launchd services don’t work anymore. Well they run, the job begins, but then it can’t write to its files. I have no clue how they borked the permissions but something is up. The script works when I run it myself. As far as I can tell the launchd process should run the script as me the user in terms of permissions. It manages to run the script but doesn’t write to file. I am at a loss and gave up on debugging those services for now.



Is this a real bug? I recently got a MacOS device for the first time, and I have been frustrated that I couldn't get my custom service to work. Just like you, the script writes to files when I run it myself, but does nothing as a service.

I've been debugging it on and off for a couple of months because I assumed I messed something up.


It worked fine on mojave, that is how I know it wasn’t my doing. The only variable change is the os. Another bug: sound turns on after I’ve muted it if any media starts playing. Defeating the entire purpose of muting audio. I guess macos knows best and I ought to play any and all audio out of those generous speakers at an appreciable volume no matter my surrounding. God forbid it were the other way and my video plays for a half second on mute before I notice.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: