From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 16:05:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9154916A426 for ; Fri, 18 Nov 2005 16:05:54 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from mail.alkar.net (mail.alkar.net [195.248.191.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id C89F843D45 for ; Fri, 18 Nov 2005 16:05:53 +0000 (GMT) (envelope-from tofik@oxygen.az) Received: from [213.227.193.78] ([213.227.193.78] verified) by mail.alkar.net (CommuniGate Pro SMTP 4.3.7) with ESMTP id 396755913; Fri, 18 Nov 2005 18:05:52 +0200 Message-ID: <437E181F.5090707@oxygen.az> Date: Fri, 18 Nov 2005 18:06:23 +0000 From: Tofik Suleymanov User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Micah References: <1132321525.30630.3.camel@columbus.webtent.org> <44wtj6m2kz.fsf@be-well.ilk.org> <1132326705.30630.7.camel@columbus.webtent.org> <437E1478.8040501@oxygen.az> <437DFA2F.6090205@ywave.com> In-Reply-To: <437DFA2F.6090205@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: robert@webtent.com, Lowell Gilbert , FreeBSD Subject: Re: Override prompt when deleting a file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2005 16:05:54 -0000 Micah wrote: > Tofik Suleymanov wrote: > >> Robert Fitzpatrick wrote: >> >>> On Fri, 2005-11-18 at 09:51 -0500, Lowell Gilbert wrote: >>> >>> >>>> Robert Ftizpatrick 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 > sorry, i meant alias rm 'rm -f'