3 ms·
This is a useful tip! but also... who has a dir with 777 permissions? Is that something people do nowadays?
by procaryote 7mo ago
This is a useful tip!
but also... who has a dir with 777 permissions? Is that something people do nowadays?
- chasil 7mo agoWell, everybody has 1777 as /tmp (with the sticky bit). $ ll -d /tmp drwxrwxrwt. 20 root root 4096 Mar 3 12:19 /tmp $ mkdir mytmp $ chmod 1777 mytmp $ ll -d mytmp drwxrwxrwt. 1 luser lgroup 0 Mar 3 12:19 mytmp
- paffdragon 7mo agoWell, maybe not everybody $ ls -ld /tmp drwxrwx--x. 2 shell shell 40 Jan 15 2022 /tmp edit: sorry, I should have added this is termux :)
- easterncalculus 7mo agoMy guess would be mounting an NTFS partition - with ntfs-3g it will load everything as 777 just by default, since it can’t translate the permissions.
- SoftTalker 7mo agoI've seen users who have every file set to 777. They do it to "avoid permissions issues"
- Retr0id 7mo agoHeh I can remember doing that, in the distant past.
- deleted 7mo ago[deleted]
- huflungdung 7mo ago[dead]