permissions issue; umask not working; no access to any file/folder I create
by mgdlinux from LinuxQuestions.org on (#59TG6)
Fedora 31..
I have a very bizarre issue that cropped up. If I create a file using a desktop app (Sublime Text), I do not have access to the file. My account/group is mgd and I am a wheel user.
Here is the permission of a file I created using the Sublime text save command:
Code:[~]$ ls -la aaa.txt
----rw----+ 1 mgd mgd 4 Nov 1 10:49 aaa.txtHere is what happens if I create a file using the touch command.
Code:[~]$ touch test
[~]$ cat test
cat: test: Permission denied
[~]$ sudo ls -la test
----rw----+ 1 mgd mgd 0 Nov 1 11:04 testHere is my umask in .bashrc
Code:[~]$ grep umask .bashrc
umask 002I looked for an error in ~/bash_profile and /etc/profile, but I could find nothing leading to this issue.
This all does not make sense. The permissions don't make sense. One of my groups is mgd, so I still should be able to access the files.
BTW, I do own my home directory..
Code:[~] ls -la /home | grep '^d' | grep mgd
drwx------+ 72 mgd mgd 4096 Nov 1 11:11 mgd
Any ideas?


I have a very bizarre issue that cropped up. If I create a file using a desktop app (Sublime Text), I do not have access to the file. My account/group is mgd and I am a wheel user.
Here is the permission of a file I created using the Sublime text save command:
Code:[~]$ ls -la aaa.txt
----rw----+ 1 mgd mgd 4 Nov 1 10:49 aaa.txtHere is what happens if I create a file using the touch command.
Code:[~]$ touch test
[~]$ cat test
cat: test: Permission denied
[~]$ sudo ls -la test
----rw----+ 1 mgd mgd 0 Nov 1 11:04 testHere is my umask in .bashrc
Code:[~]$ grep umask .bashrc
umask 002I looked for an error in ~/bash_profile and /etc/profile, but I could find nothing leading to this issue.
This all does not make sense. The permissions don't make sense. One of my groups is mgd, so I still should be able to access the files.
BTW, I do own my home directory..
Code:[~] ls -la /home | grep '^d' | grep mgd
drwx------+ 72 mgd mgd 4096 Nov 1 11:11 mgd
Any ideas?