> I always alias cp with '-p' for root because I usually want to preserve
> permissions when copying files. I have never had a problem with it not
> keeping the old permissions. Should I expect that they could be lost in
> some cases?
When copying to /mnt/windows perhaps (grin)?
Cheers --- Lar
On Wed, 08 Nov 2000 04:30:19 jean-philippe wrote:
>
>
> pgeorges wrote:
> >
> > "David M. Kufta" a écrit :
> > >
> > > I have a clients machine that curently has a /usr mount point of
> /dev/hdb1
> > > /dev/hdb1 2.0G 1.5G 527M 74% /usr
> > > This client has a partition /dev/hdc1
Bill Shirley wrote:
> > > What about (logged as root) :
> > >
> > > cp -a /usr /home2/
> > > mv /usr /usr.bak
> > > ln -svf /home2/usr /usr
> > > rm -rf /usr.bak
> >
> > It is not a good idea to do it with cp. All the files permitions and
> > ownership would be lost.
> > Beside, non regular file
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of jean-philippe
> Sent: Wednesday, November 08, 2000 4:30 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [expert] switch /usr partition ?
>
>
>
>
> pgeorges wrote:
pgeorges wrote:
>
> "David M. Kufta" a écrit :
> >
> > I have a clients machine that curently has a /usr mount point of /dev/hdb1
> > /dev/hdb1 2.0G 1.5G 527M 74% /usr
> > This client has a partition /dev/hdc1 which is currently mounted as /home2
> > /dev/hdc1 7.9G
"David M. Kufta" a écrit :
>
> I have a clients machine that curently has a /usr mount point of /dev/hdb1
> /dev/hdb1 2.0G 1.5G 527M 74% /usr
> This client has a partition /dev/hdc1 which is currently mounted as /home2
> /dev/hdc1 7.9G 32M 7.8G 0% /home2
>
> I wou