Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 12:32:51 -0500
From:      Robert Ftizpatrick <robert@webtent.com>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        Micah <micahjon@ywave.com>, Tofik Suleymanov <tofik@oxygen.az>, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>, FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: Override prompt when deleting a file
Message-ID:  <1132335171.30630.23.camel@columbus.webtent.org>
In-Reply-To: <437E01C9.50209@daleco.biz>
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> <1132330095.30630.16.camel@columbus.webtent.org> <437E01C9.50209@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2005-11-18 at 10:31 -0600, Kevin Kinsey wrote:
> >>>>>>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?
> >>>>>          
> >>>>>
> >>>>-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 ..
> >>>>
> >>>>        
> >>>>
> >>To original poster: is the immutable bit set on the file?
> >>    
> >>
> >
> >I don't believe so...is this how you tell?
> >
> >-bash-2.05b$ ls -lo massage.xls
> >-rw-r--r--  1 admin  admin  - 4463104 Aug 29 17:25 massage.xls
> >  
> >
> 
> see chflags(1).  Most likely it is.  If you really want the file gone,
> (as root*):
> 
> #chflags noschg massage.xls
> #rm massage.xls
> 

I'm sure I can make it happen. My problem is the rsync backup everynight
fails to delete this and other files like it saying 'Permission denied'.
So, I am assuming it is because of this issue. The rsync script logs in
as admin. How can I resolve this?

--
Robert





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1132335171.30630.23.camel>