Override prompt when deleting a file
Micah
micahjon at ywave.com
Fri Nov 18 15:58:47 GMT 2005
Tofik Suleymanov wrote:
> Robert Fitzpatrick wrote:
>
>> On Fri, 2005-11-18 at 09:51 -0500, Lowell Gilbert wrote:
>>
>>
>>> Robert Ftizpatrick <robert at webtent.com> writes:
>>>
>>>
>>>
>>>> I'm logged in to my FreeBSD 5.2.1 box as 'admin' via ssh, why would I
>>>> receive this override prompt?
>>>>
>>>> -bash-2.05b$ ls -la massage.xls
>>>> -rw-r--r-- 1 admin admin 4463104 Aug 29 17:25 massage.xls
>>>> -bash-2.05b$ rm massage.xls
>>>> override rw-r--r-- admin/admin for massage.xls?
>>>>
>>>
>>> Check the permissions on the directory?
>>> _______________________________________________
>>>
>>
>>
>> Yes, I did...
>>
>> -bash-2.05b$ ls -la
>> total 460441
>> drwxr-xr-x 18 admin admin 1024 Nov 18 08:38 .
>> drwxr-xr-x 5 admin admin 512 Jan 4 2005 ..
>>
>> --
>> Robert
>>
> add alias ls 'ls -f' to shell startup script
from man ls:
-f Output is not sorted.
How does sorting the output of ls affect the ability to remove the file?
To original poster: is the immutable bit set on the file?
HTH
Micah
More information about the freebsd-questions
mailing list