• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

chmod 600 on a folder

SoundTheSurrender

Diamond Member
I don't quite understand why I can't access or read files from a folder with chmod 600. Shouldn't I still be able to access it? my umask is 0022..

user11@lx:~$ chmod 600 udir
user11@lx:~$ ls -l
total 24
drwxr-xr-x 4 user11 student 4096 2007-09-14 19:20 330
drw------- 2 user11 student 4096 2007-10-03 15:19 udir <-- only has read and write permission
user11@lx:~$ cd udir
bash: cd: udir: Permission denied

EDIT:

Does it mean that folders require a x permission to do anything with them?
 
execute on directories is permission to set them as your current directory, you can still read the directory since you have read permission, i.e. 'ls udir' should work, but you can't chdir() to it.
 
Back
Top