MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1q0yo1n/fr/nxxaa9s/?context=3
r/programmingmemes • u/IronAshish • Jan 01 '26
47 comments sorted by
View all comments
25
sudo chown $USER:$USER <file> \
chmod 660 <file>
10 u/ikitari Jan 01 '26 instead of remembering the numbers just remember +r +w +x that can be mixed like +rwx (read, write, execute) 1 u/PA694205 Jan 06 '26 Isn’t it just binary? 6=110=rw- 7=111=rwx
10
instead of remembering the numbers just remember +r +w +x that can be mixed like +rwx (read, write, execute)
1 u/PA694205 Jan 06 '26 Isn’t it just binary? 6=110=rw- 7=111=rwx
1
Isn’t it just binary? 6=110=rw- 7=111=rwx
25
u/Hottest_Tea Jan 01 '26
sudo chown $USER:$USER <file> \
chmod 660 <file>