On Tue, Jul 15, 2003 at 06:26:36PM +0900, peter@despammed.com wrote:
[Look, I'm a newbie, OK?]
My computer -- SuSE 8.2 (and no other OS), for exclusive use by me -- is totally unsecured. It's lucky that I don't keep my credit card numbers on it. But I do keep other numbers on it, so. . . .
Today I finally ran out of excuses for not using chmod (or similar). Rather than attempting to make some sweeping change, and therefore perhaps messing up in grand style, I wandered down close to a few minor twigs of a directory tree of stuff (XyWrite and text files, mostly) imported from my old 'Doze system, and typed
chmod -v -R 600 *
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". [snip]
Is that enough? (I doubt it.) If not, what's the recommended procedure? [snip]
Others have suggested combining "find" with "chmod"; this is probably what you want to do to recover the situation. Read some stuff about 'umask', since this might help you avoid having to do these permission changes in the first place... -- David Smith | Tel: +44 (0)1454 462380 Home: +44 (0)1454 616963 STMicroelectronics | Fax: +44 (0)1454 617910 Mobile: +44 (0)7932 642724 1000 Aztec West | TINA: 065 2380 GPG Key: 0xF13192F2 Almondsbury | Work Email: Dave.Smith@st.com BRISTOL, BS32 4SQ | Home Email: David.Smith@ds-electronics.co.uk