Hacker News new | ask | show | jobs
by mikedelfino 450 days ago
Could you please help me understand why exec is required for this touch example? Is it necessary to actually launch the touch binary? Or touch itself exec()s something else?
1 comments

This might be related to needing execute permissions (filesystem x bit) on the directory to modify files within.
Got it. I thought it had to do with execve() syscall.