Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 17:32:04 +0100 (BST)
From:      <mac@nibsc.ac.uk>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        fqueries@jraynard.demon.co.uk, kelly@fsl.noaa.gov, branson@longstreet.larc.nasa.gov, dbrockus@m1.sprynet.com, freebsd-questions@freebsd.org
Subject:   Re: Please Help ... I am locked out of a FreeBSD machine
Message-ID:  <199605091632.RAA12281@chalsig.nibsc.ac.uk>
In-Reply-To: <199605090333.NAA01970@genesis.atrad.adelaide.edu.au> from "Michael Smith" at May 9, 96 01:03:57 pm

next in thread | previous in thread | raw e-mail | index | archive | help
>From: Michael Smith <msmith@atrad.adelaide.edu.au>
>Subject: Re: Please Help ... I am locked out of a FreeBSD machine
>To: fqueries@jraynard.demon.co.uk (James Raynard)
>Date: Thu, 9 May 1996 13:03:57 +0930 (CST)
>Cc: kelly@fsl.noaa.gov, branson@longstreet.larc.nasa.gov,
>        dbrockus@m1.sprynet.com, freebsd-questions@freebsd.org
>
>James Raynard stands accused of saying:
>> >     Branson> chmod 644 -R .??*
>> 
>> I prefer chmod 644 -R .[a-zA-Z]* myself
>
># chmod 644 -R .[^.]* *
>
>(csh at least)


All shells, and no compilcated [] expresssions:-

chmod 0644 -R `ls -A`


does _exactly what's required.

                               Mac
          Assistant Systems Adminstrator @nibsc.ac.uk

                 mac@nibsc.ac.uk  (also postmaster)
 Work: 01707 654753 x 285               Everything else: 0956 237670 (any time)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605091632.RAA12281>