Messages in this thread | | | Date | Fri, 3 Mar 2000 01:49:36 +0100 | From | Jamie Lokier <> | Subject | Re: [PATCH] devfs and symlinks--2.3.48 |
| |
Richard Gooch wrote: > Symlink permissions should not matter. The kernel doesn't care, and > neither should applications. If some application out there is doing > lstat(2), I'd rather break it and see it fixed, since it's probably > broken in other ways too.
For procfs, symlink permissions do matter.
You can't readlink a procfs symlink that's not readable by you. I'm thinking of /proc/N/cwd.
I don't know what other permissions are implied, but `ls -l /proc/self/fd' shows me three symlinks with lrwx------ permission and one with lr-x------ permission. There might even be a reason.
enjoy, -- Jamie
- 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/
| |