Linux-kernel mailing list archive 1998-42,: Re: 2.0.35 NFS directory perms bug

# Re: 2.0.35 NFS directory perms bug

Olaf Titz (olaf@bigred.inka.de)
Sat, 24 Oct 1998 12:10:20 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Dick Streefland: "/proc/scsi/scsi access causes segfault"
- Previous message: Andy Jefferson: "2.1.125 : request_module unresolved"
- Next in thread: Razathorn: "Re: 2.0.35 NFS directory perms bug"
- Reply: Razathorn: "Re: 2.0.35 NFS directory perms bug"

> A dir of mode 664 (drw-rw-r--) can be 'listed' with shell file completion.

It can be listed with "ls" too, on every filesystem. (Just tested on
ext2.) Plain /bin/ls without any options will simply list it, while
shell-builtin or -F or -l etc. will give a lot of complaints about
permission denied when trying to stat() each file in the directory,
which is disallowed because of the missing x flag.

> user (it isn't a user to user security issue) but is a bug.

It is no bug. Read permission on a directory means exactly that: being
able to read the directory, which is listing the file names and inode
numbers in it.

olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Dick Streefland: "/proc/scsi/scsi access causes segfault"
- Previous message: Andy Jefferson: "2.1.125 : request_module unresolved"
- Next in thread: Razathorn: "Re: 2.0.35 NFS directory perms bug"
- Reply: Razathorn: "Re: 2.0.35 NFS directory perms bug"