#5848 closed bug (invalid)
Directories without read and execute permissions are incorrectly handled
Reported by: | mjw | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I am porting quilt to haiku, and I have come across the following problem. If you execute the following 3 lines in a bash prompt: mkdir directory chmod a-rx directory cd directory
then "cd directory" succeeds. I believe it should fail with a permission errror.
Change History (2)
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Component: | - General → System/Kernel |
---|
Alternatively, you can create another non-root user in Haiku (using the "useradd" command), log in as that user, and it should return the expected results.
Note:
See TracTickets
for help on using tickets.
This is expected behavior, for the simple reason that, Haiku being single-user, you are always root and thus always have permission. Execute the above commands as root on linux or FreeBSD and you'll see the exact same result.