> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of Edmund R. MacKenty > Sent: Thursday, June 05, 2008 10:30 AM > To: [email protected] > Subject: Re: Ignorance question about access list on a directory
[snip] > You're close, but just a bit off. :-) The story of my life: "just a bit off" > The 'r' (read) > permission does not let > you read sequentially through a directory. That's what 'x' > (search) does. > What 'r' gives you is the ability to look in the directory > for a specific > name and get its inode. That is, you can stat(2) a name within that > directory. > > For example, if /bin only granted me read permission, but not > search (say it > had mode 0751 for some reason), I would be able to run > /bin/cp from my shell, > even if I just typed "cp", because it would be doing a stat() > call on a > specific name. But command completion would not work (if I > typed 'c' then a > tab, I would not see "cp" listed in the output), and I could > not do wildcard > matches (doing "echo /bin/c*" would output "/bin/c*"). > > Does that make sense? > - MacK. > ----- > Edmund R. MacKenty See? I told you I was confused! I can never get that straight. Now, any reason to have an "r" and no "x" or vice versa? -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
