🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Ryan Harvey Mon, 23 Aug 1999 00:00
INN - mv - cannot unlink /usr/local/news/history
#39370
Author: Ryan Harvey
Date: Mon, 23 Aug 1999 00:00
24 lines
1507 bytes
I recently had a problem with the hard drive on my system that had the
/news partition.  In order to fix the disk, I had to tar the contents
(minus one corrupt directory) to another system, newfs the bad partition
and then tar the files back to the drive.  During that exercise, I lost
the permissions for all the files.  I thought I had everything running
fine, except that I am now getting the following error in my news.daily
log file:

mv: cannot unlink /usr/local/news/history: Permission denied
mv: cannot unlink /usr/local/news/history.dir: Permission denied
mv: cannot unlink /usr/local/news/history.pag: Permission denied

Any suggestions as to where the problem might be?  I set permissions to
777 on the files listed above and I still get the same error :-(

I'm running inn1.4unoff4 on a 2.5 Solaris system.

TIA,

Ryan Harvey
Muskingum College
harvey@muskingum.edu

Re: INN - mv - cannot unlink /usr/local/news/history
#39362
Author: Russ Allbery
Date: Mon, 23 Aug 1999 00:00
23 lines
1541 bytes
Ryan Harvey <harvey@muskingum.edu> writes:

> I recently had a problem with the hard drive on my system that had the
> /news partition.  In order to fix the disk, I had to tar the contents
> (minus one corrupt directory) to another system, newfs the bad partition
> and then tar the files back to the drive.  During that exercise, I lost
> the permissions for all the files.  I thought I had everything running
> fine, except that I am now getting the following error in my news.daily
> log file:

> mv: cannot unlink /usr/local/news/history: Permission denied
> mv: cannot unlink /usr/local/news/history.dir: Permission denied
> mv: cannot unlink /usr/local/news/history.pag: Permission denied

> Any suggestions as to where the problem might be?  I set permissions to
> 777 on the files listed above and I still get the same error :-(

Make sure the news user owns /usr/local/news.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN - mv - cannot unlink /usr/local/news/history
#39391
Author: bill davidsen
Date: Tue, 24 Aug 1999 00:00
23 lines
1713 bytes
In article <yln1vixwca.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Ryan Harvey <harvey@muskingum.edu> writes:

| > mv: cannot unlink /usr/local/news/history: Permission denied
| > mv: cannot unlink /usr/local/news/history.dir: Permission denied
| > mv: cannot unlink /usr/local/news/history.pag: Permission denied
| 
| > Any suggestions as to where the problem might be?  I set permissions to
| > 777 on the files listed above and I still get the same error :-(
| 
| Make sure the news user owns /usr/local/news.

And the files. Even the directory owner may not be able to unlink
non-owned files, depending on the directory permissions and o/s options.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads