Article View: news.software.readers
Article #109407Re: [slrn] Getting It To Run At All [OT]
From: Tim Hammerquist
Date: Thu, 12 Sep 2002 00:35
Date: Thu, 12 Sep 2002 00:35
56 lines
3026 bytes
3026 bytes
G. Wolfe Woodbury graced us by uttering:
> Tim Hammerquist <tim@vegeta.ath.cx> shaped electrons to say:
>> In this case, you can just make your rc files readable by you
>> _only_ with the following:
>>
>> chmod 400 names_of_files
>> or
>> chmod 500 names_of_files
>
> Note that this produces read-only (except for root) files.
> Using
>
> chmod 600 file or chmod 700 file
>
> makes the files read/write. The difference between 4 and 5,
> and 6 and 7 are that the odd numbers have the execute bit set.
This is a fair point. The actual reason for the "odd" numbers
setting the x bit is a bit more complex that this, but I'm sure
you understand that.
Especially with the amount of time I spend tweaking my rc files,
a 600 value would be preferable.
> Now, I consider using 0n00 permissions applied to non-sensitive
> files as being anti-social.
I'm not sure if you're implying a file containing a NNTP server
password is "non-sensitive", but I'll give you the benefit of the
doubt.
OTOH, considering how much I can be sued for nowadays, I don't
consider it anti-social at all to:
chmod 700 ~/music
> But then, I was raised in the old academic environment that
> tended to be a 644 world. I also don't like the default policy
> of making the $HOME directory 700. It keeps others out, but
> that isn't necessarily what you want.
I agree, of course. Esp. if you're serving a public_html
subsite, $HOME _can't_ be 700, but you may have to set it 755
manually. rc files should be 600 if they contain sensitive
information, though, IMHO.
OTOH, as most of the software I write, there's little in my $HOME
that you're welcome to that's not already available. If anyway
is interested in anything I'm not already sharing, I much prefer
to be reached through my mbox. ;)
Cheers,
Tim Hammerquist
--
/earth is 98% full ... please delete anyone you can.
Technical Details
Message-ID:
<slrnanvo79.j0h.tim@vegeta.ath.cx>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.greatbasin.netReferences:
<slrnanr687.tti.tim@vegeta.ath.cx> <6836223.h0m1pH7605@blinkynews.invalid> <slrnantpjl.8s2.tim@vegeta.ath.cx> <slrnanugm1.bij.ggw_@wolves.homeip.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnanvo79.j0h.tim@vegeta.ath.cx> Subject: Re: [slrn] Getting It To Run At All [OT] Date: Thu, 12 Sep 2002 00:35:26 +0000 From: Tim Hammerquist <tim@vegeta.ath.cx> References: <slrnanr687.tti.tim@vegeta.ath.cx> <6836223.h0m1pH7605@blinkynews.invalid> <slrnantpjl.8s2.tim@vegeta.ath.cx> <slrnanugm1.bij.ggw_@wolves.homeip.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!news.greatbasin.net Newsgroups: news.software.readers Reply-To: timmy@cpan.org Mail-Followup-To: timmy@cpan.org Mail-Copies-To: nobody X-Editor: Vim-601 http://www.vim.org/ User-Agent: slrn/0.9.7.4 (Linux) NNTP-Posting-Host: csn-max0-22.gbis.net X-Trace: news.greatbasin.net 1031790926 csn-max0-22.gbis.net (11 Sep 2002 17:35:26 -0700) Lines: 55