I can't figure out why I don't have execution permissions on files I create by default. I don't think I messed with any Ubuntu permissions, it's pretty default stuff.
When doing some research I found out about a thing called umask, running umask
returns 0002
I don't think that's the problem. I've tried creating files in a bunch of different folders, they all look like -rw-rw-r--
.
farzher@farzher-laptop ~ $ touch pants.txt
-rw-rw-r-- 1 farzher farzher 0 Jul 24 21:58 pants.txt
I know how to execute it chmod 755 pants.txt
but I want execute by default. If I'm missing any important information just comment and ask.
touch
shouldn't that have execute on user? – Farzher Jul 25 '13 at 02:18