add -r (rm -rf) in order to remove any child folders also.
Mike
Skye Louey wrote:
> If you are not the owner of the file/or in the group the file belongs to you
> will not be allowed to change it. Log in as an authorized user(or root) and
> you should be able to delete the file.
>
> Another thing you could try is rm -f <filename> to "force" removal.
>
> =)
>
> SkYE
> ???? ? ?? ? ????
> "Zankoku na tenshi no youni."
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Blomquist, Niklas
> Sent: 2001?1?22? 15:30
> To: [EMAIL PROTECTED]
> Subject: SV: [newbie] Problem with deleting files...
>
> Í have tried to do that with chmod, but it says the same thing.
>
> How do I change the permission?
>
> /Niklas
>
>> -----Ursprungligt meddelande-----
>> Från: Mike & Tracy Holt [mailto:[EMAIL PROTECTED]]
>> Skickat: den 22 januari 2001 07:31
>> Till: [EMAIL PROTECTED]
>> Ämne: Re: [newbie] Problem with deleting files...
>>
>>
>> Blomquist, Niklas wrote:
>>
>>> All,
>>>
>>> I have a realy stupid problem.
>>>
>>> I have a drive that with vfat on, and I can't delete some
>>
>> files from it. The
>>
>>> files have been copied from CD-rom and have read only and
>>
>> system. I get the
>>
>>> error messages permission denied.
>>>
>>> How do I change this?
>>>
>>> /Niklas
>>
>>
>> If you copied the files from a cdrom, you've also copied
>> their read-only
>> permissions. You need to change permissions on the files
>> before you can
>> delete them.
>>
>> Mike
>>
>>
>>