8

I just ran "sudo chown 755 /my/file" and couldn't run...

I checked the file and it said "-rw-r--r-- 1 755". And I was like: That looks like a 644, why does it say it is 755. I stared at it for a minute until it suddenly clicked. Hey, normally that does not show me a bitmask! It only shows it as r,w,x!

Yep... I ran chown instead of chmod. The 755 was my user now. Fuck I need vacation.

Comments
  • 1
    You know, you could've added a confirmation dialogue and k would have still smashed "YES" like an idiot.
Add Comment