I've recently started getting files and directories created with all permissions disabled. For example:
I also notice that my .bash_history file gets created with those permissions. Doing the same sort of things from a root login, this does not happen. My umask is 0022, so I know that's not it. The filesystem is a Unix share, so I don't think there's any CIFS nonsense getting in the way.
I have a feeling it's probably something simple that is staring me in the face, but I can't see it.
Suggestions?
Code:
me@myhost:~$ ls >foo me@myhost:~$ ls -l foo ----------+ 1 me me 277 Apr 10 23:59 foo
I also notice that my .bash_history file gets created with those permissions. Doing the same sort of things from a root login, this does not happen. My umask is 0022, so I know that's not it. The filesystem is a Unix share, so I don't think there's any CIFS nonsense getting in the way.
I have a feeling it's probably something simple that is staring me in the face, but I can't see it.
Suggestions?