That first example, it's a no-op for a regular users, they can't write those, use chmod/chown instead.
What you don't see is that this sort of thing, permissions within the scripts, are (1) easy to change (2) hard to maintain
That first example, it's a no-op for a regular users, they can't write those, use chmod/chown instead.
What you don't see is that this sort of thing, permissions within the scripts, are (1) easy to change (2) hard to maintain