Linux permission issue, can you explain this...
by sam_nyc from LinuxQuestions.org on (#5G2GF)
I am having weird permission issues. can you someone help me.
Code:[root@web2 PU3120421]# ls -la
total 3208
drwxrwsrwx 6 xxweb bh_lab 170 Mar 31 10:44 .
drwxrwsrwx 10184 user1pet bh_lab 274914 Mar 31 10:46 ..
drwxrwsrwx 2 xxweb bh_lab 182 Mar 31 10:49 models
drwxrwsrwx 2 xxweb bh_lab 0 Mar 31 10:19 partner
drwxrwsrwx 2 xxweb bh_lab 0 Mar 31 10:19 partner_models
-bash-4.2$ touch 123
touch: setting times of 123': Permission denied
-bash-4.2$ ls -lt
total 312
----rwx--- 1 honigwb bh_lab 0 Apr 1 2021 123
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:49 xyz
-rwxrwx--- 1 xxweb bh_lab 62980 Mar 31 10:44 1f51_E.1_E.pdb
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:41 1f51_E.1_E.pdb~
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:41 4913I typed touch 123 and I get error message permission denied but it creates the file as you can see above... but it comes as 070
not sure why?


Code:[root@web2 PU3120421]# ls -la
total 3208
drwxrwsrwx 6 xxweb bh_lab 170 Mar 31 10:44 .
drwxrwsrwx 10184 user1pet bh_lab 274914 Mar 31 10:46 ..
drwxrwsrwx 2 xxweb bh_lab 182 Mar 31 10:49 models
drwxrwsrwx 2 xxweb bh_lab 0 Mar 31 10:19 partner
drwxrwsrwx 2 xxweb bh_lab 0 Mar 31 10:19 partner_models
-bash-4.2$ touch 123
touch: setting times of 123': Permission denied
-bash-4.2$ ls -lt
total 312
----rwx--- 1 honigwb bh_lab 0 Apr 1 2021 123
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:49 xyz
-rwxrwx--- 1 xxweb bh_lab 62980 Mar 31 10:44 1f51_E.1_E.pdb
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:41 1f51_E.1_E.pdb~
----rwx--- 1 honigwb bh_lab 0 Mar 31 10:41 4913I typed touch 123 and I get error message permission denied but it creates the file as you can see above... but it comes as 070
not sure why?