[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] A question on Ownership
> Setting the x permission is a bit silly, since I then mount the drive with
> noexec, but this makes all the files in my dos partition show up a lovely
> green colour in a directory listing. Just another reminder that I'm currently
> in a dos drive.
You need the execute bit to cd into directories[1]; so it's not that silly :)
Try chmod'ing a directory to 644/600/666/444/etc ... you'll not be able to cd
into the thing. Execute is required to traverse :)
Chris...
[1] as a normal user; for some reason root can traverse without execute a
quick test has revealed[2] ... which seems obscure to me, but hey, who am I
do argue with the superuser :)
[2] which I didn't think was possible...anyone know if (a) this is a new
property of ext2fs on Linux[3], and/or (b) do other UNIXes mirror this
behaviour?
[3] I'm running 2.4.18 ...
--
\ Chris Johnson \ NP: Heart - 14. You're The Voice (Studio Version
\ cej [at] nightwolf.org.uk ~-----, )
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.