Article View: alt.privacy.anon-server
Article #266865Re: mixmaster cron error
From: Nomen Nescio
Date: Thu, 24 Apr 2014 18:20
Date: Thu, 24 Apr 2014 18:20
62 lines
3248 bytes
3248 bytes
> When new stats are downloaded they come in with the .t extension and > are renamed to drop the .t extension, thus overwriting and replacing > the old versions of the files. > I believe it is done this way to protect your current files from being > overwritten with corrupted or even empty files should the source of > the replacement files be pushing out garbage for some reason. The > 'quality' of the .t files are likely checked in some way to be sure > they are valid replacements and not empty files for example, before > being used to replace the current files. > I have a feeling that your setup might have a generic permissions > problem where the software was installed as one user, and being run as > a different user. This includes cron jobs, which can be run as > different users, which may not have the appropriate permissions to > write to file areas that belong to other users. > *RE-WRITE of previous post:* > I remember now - I built the stats update cron in root. > This is why you're experiencing problems. The root user has permission > to overwrite the files (it has access to everything). Once its > overwritten them, they are then owned by root. > First, reissue the command I gave you yesterday to change the ownership > of /var/lib/mixmaster back to the mixmaster user. > chown -R mixmaster:mixmaster /var/lib/mixmaster > This changes ownership of this folder and everything that resides in it, > including other folders and their content (-R means recursive). > Next, change your cron job to run as the mixmaster user instead of root. > This way, everything generated by the cron job will be owned by the > mixmaster user. > I have already removed the cron job in root and set it up in the > mix user. > This brings up a question. You are suggesting > chown -R mixmaster:mixmaster/var/lib/mixmaster > My mixmaster is set up in user 'mix'. Should this actually be: > chown -R mix:mix /var/lib/mixmaster > Here is a 'ls -i' from user mix: > mix@inwtx:~$ ls -l > total 4 > -rw------- 1 mix mix 372 Apr 22 15:51 dead.letter To answer my own problem, I did this: chown -R mix:mixmaster /var/lib/mixmaster and then updated the mixmaster stats. No error message received, so all is good (I think :~ ).
Technical Details
Message-ID:
<3fb4c8fe620f088457a12bf65db58527@dizum.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mailReferences:
<1d4bd4359779bb5ff53efbcb2cf7915a@dizum.com>Show Full Headers
Complete Article Headers
Message-ID: <3fb4c8fe620f088457a12bf65db58527@dizum.com> Subject: Re: mixmaster cron error Date: Thu, 24 Apr 2014 18:20:00 +0000 From: Nomen Nescio <nobody@dizum.com> References: <1d4bd4359779bb5ff53efbcb2cf7915a@dizum.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!rt.uk.eu.org!news.mixmin.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 61 X-Original-Bytes: 2991