On Tue, Jul 15, 2003 at 07:18:39PM +0900, peter@despammed.com wrote:
David Smith wrote:
A better way of doing this would be: chmod -R go-rwx *
As this will remove read, write and execute permission for "group" and "other".
I may understand even less than I realize, but it seems to me that this is a description of "chmod -R 600 *" as well.
The difference is that with "600", you set the "user" permissions as well as "group" and "other". If you use "go-rwx" then it will leave the "user" permissions alone. "600" is the equivalent of "u=rw,go=".
Ah, the Bash shell. It's good; I'm not knocking it -- but I do rather wish that (as in Take Command) ".../" could be used for "../../", "..../" could be used for "../../../", etc. Still, I'm sure that if I were migrating in the opposite direction, I'd be cursing Take Command (which of course is a lot more limited).
This is more of a Unix thing, rather than a bash thing, but yes, I agree - I thought of it myself a few years ago, but I didn't realise that anyone else had actually implemented it... -- David Smith Work Email: Dave.Smith@st.com STMicroelectronics Home Email: David.Smith@ds-electronics.co.uk Bristol, England GPG Key: 0xF13192F2