[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report
Problem with directory permissions:
% mkdir fubar
% ls -ld fubar
drwxr-x--x 2 guest user 192 Mar 15 23:05 fubar
% chmod u-r fubar
% ls -ld fubar
d-wxr-x--x 2 guest user 192 Mar 15 23:05 fubar
% cd fubar
fubar: access denied.
According to existing UNIX standards, if a user is denied read access to a
directory, but the "search/execute" bit it set the user may enter the
directory and any of its subdirectories but not read any information of
the directory (ie. ls:ing the contents will produce access denied or no
results or something similar). Also, the user may copy and access files
and subdirectories inside the directory as directory permission bits don't
affect the files it contains.
In the example above, copying to and from the directory worked fine, but I
could not change my current working directory to it, which is not correct.
% uname -a
MiNT TT030 1.14 3.6 ataritt
So do me and Q-Funk win a prize or what? ;-)
- ---------- = = ---------//--+
| / Kristoffer Lawson | www.fishpool.com
+-> | setok@fishpool.com | - - --+
|-- Fishpool Creations Ltd - / |
+-------- = - - - = --------- /~setok/