Re: Filenames with hyphens & cp/chown

From: M Khomo (mkhomo_at_ostecs.com)
Date: 05/04/04


Date: Tue, 04 May 2004 14:43:29 -0500

M Khomo wrote:

>> host# chgrp wheel *.pdf
>> host# exit
>> host# exit
>> prompt> cp -p *.pdf /tmp
>> prompt> ls -l /tmp/*.pdf
>> total 144
>> -rw-r--r-- 1 mkhomo wheel 70815 May 3 18:34 Figs 1-5.pdf
>> prompt> rm /tmp/*.pdf
>
>
> NB: slightly different issue is why the file took up 'wheel' group to
> which mkhomo is member. It was created by a mozilla download.

Ignore this part. I obviously forget what I do a minute after doing it.
My humble (or should I say proud) contribution to stupidage. I was
changing groups to match the msdos /mnt group. The msdos user'was/is
still root. I suppose the msdos mount refuses to set unknown uid mkhomo,
and hence a genuine perms problem with -p.



Relevant Pages