I was playing with directory permissions to make sure I understood them... And created some test directories with various permissions
I have files under each directory with identical permissions (644) and was able to append some text to all of them (using an echo command) except to the file under the subread directory... My understanding is an append should be successful because the write permission was set on the files themselves... And it has nothing to do with the directory... But when I tried to do this with the subread directory I received a "permission denied" error. Which confuses me.... I thought the append action would be dependent on the permissions of the filedrwx------. 2 kmg kmg 41 Jan 3 12:44 suball
d-w-------. 2 kmg kmg 45 Dec 31 09:35 subwrite
dr--------. 2 kmg kmg 43 Dec 30 08:40 subread
d--x------. 2 kmg kmg 43 Dec 26 17:10 subexec
dr-x------. 2 kmg kmg 39 Dec 26 13:57 subreadwrite
I don't understand why this would fail only for the subread directory... Can someone straighten me out on this?-rw-r--r--. 1 kmg kmg 14 Dec 30 08:37 subread.txt
THANKS!