🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86811

INN Permissions

#86811
From: Avon
Date: Fri, 12 Jun 2015 09:41
41 lines
2327 bytes
Pulling my hair out a bit tonight.

innd: CNFS: file '/media/paul/storage/news/cycbuffs/buff01': Permission
denied, ignoring 'BUFF01' cycbuff Jun 12 21:14:35 innfeed[989]: Storage
manager initialization failed -- it is OK after a change in storage
methods innd: SM: storage method 'cnfs' failed initialization innd: SM:
one or more storage methods failed initialization innd: SERVER cant
initalize storage manager: one or more storage methods failed
initialization

I had set sudo chown -R news:news storage at the root level of this drive

I can see buff01 has user and group set to news, and permissions set to
664 so rw rw r

I created the file by running

sudo su root -s /bin/sh -c 'dd if=/dev/zero of=/media/paul/storage/news/
cycbuffs/buff01 bs=1k count=512000'

I found if I tried to run sudo su news -s /bin/sh -c 'dd if=/dev/zero of=/
media/paul/storage/news/cycbuffs/buff01 bs=1k count=512000' then I get

dd: failed to open ‘/media/paul/storage/news/cycbuffs/buff01’: Permission
denied

So it seems like news user and/or group does not have enough permissions 
to create what it needs nor access a buff01 file that is created by root 
user but then chmod to news:news etc.

I am wondering if it's because I am trying to do something with a 
different physical drive other than the one where the apt-get install inn2 
created all the inn2 files and did it's initial install and config?

Your wisdom appreciated.

Best, Paul



Technical Details
Message-ID: <mle9g4$crc$1@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mle9g4$crc$1@speranza.aioe.org>
Subject: INN Permissions
Date: Fri, 12 Jun 2015 09:41:24 +0000
From: Avon <avon@bbs.geek.nz.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Aioe.org NNTP Server
Lines: 39
NNTP-Posting-Host: olrw2Klq58WkPkQQTETYpw.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 1612185837
X-Received-Bytes: 2195