Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mikedelfino
· 1y ago · 0 comments
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?
Comments
[–]
extraduder_ire
1y ago
This might be related to needing execute permissions (filesystem x bit) on the directory to modify files within.
[–]
mikedelfino
OP
1y ago
Got it. I thought it had to do with execve() syscall.