Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
31
rated 0 times [  31] [ 0]  / answers: 1 / hits: 19386  / 1 Year ago, mon, april 10, 2023, 6:28:58

i was trying to run



sudo rm -r ./tmp


but instead typed



sudo rm -r /tmp


Will it be fixed by running?



sudo mkdir /tmp


if i do what permissions should i give it?



ps: i didnt log out of my system yet


More From » tmp

 Answers
2

I can't think of a reason why this shouldn't work. On my system, the permissions are set by:



sudo chmod 1777 /tmp


(drwxrwxrwxt)


[#36023] Monday, April 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
defendle

Total Points: 219
Total Questions: 131
Total Answers: 112

Location: Finland
Member since Sat, Nov 6, 2021
3 Years ago
defendle questions
Mon, May 10, 21, 03:46, 3 Years ago
Mon, Dec 5, 22, 07:16, 1 Year ago
;