Re: [Hampshire] error competition

Top Page

Reply to this message
Author: Chris Dennis
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] error competition
(yes I know this is an old thread -- I've been away in sunny Devon)

On 08/20/2011 12:21 AM, Ian Grody wrote:
> Setting no read/write/exec perms on all files and subdirs in a certain folder
> on a shared user system...
>
> root@local: chmod -R 000 /
>
> instead of,
>
> chmod -R 000 ./


Wouldn't this be just as good:

chmod -R 000 .

and possibly safer because '.' can only mean 'the current directory',
whereas typos such as '/' or '/.' when you mean './' can have
embarrassing results?

cheers

Chris
-- 
Chris Dennis                                  cgdennis@???
Fordingbridge, Hampshire, UK