[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/src and file permissions



Quoting Michelle Konzack (starone@cybercable.fr):

> for an half hour I had done this with my Workstation and 700 MBytes...
> (asked in debian-usr-de@ifl.de)
> 
> I have used this:
> 
> mount /dev/hdb1 /mnt
> cp -fpR /usr/src/* /mnt
> umount /mnt
> rm -fR /usr/src/*
> rm -fR /usr/src/.*

Isn't that one of the things you see in sysadmin horror stories?
Convince me that it doesn't wipe out /usr/* entirely.
And just out of interest, what would you want /usr/src/.* to match
(i.e. what's hidden there?).

> mount /dev/hdb1 /usr/src
> 
> thats all...

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Reply to: