* filepermissons
@ 1996-01-22 13:40 Markus Linnala
1996-01-22 15:45 ` filepermissons Karl_Kleinpaste
1996-01-23 15:57 ` filepermissons Lars Magne Ingebrigtsen
0 siblings, 2 replies; 8+ messages in thread
From: Markus Linnala @ 1996-01-22 13:40 UTC (permalink / raw)
Is there a way to make all .newsrc* stuff permanently unreadable to
group & others? I know what umask is. I don't want to change it.
*dribble and *~ files get their permissions from umask, not from
.newsrc as I'd like them to get.
How about variable gnus-keep-newsrc-permissions. It should keep
.newsrc* permissions according to .newsrc.
--
//Markus
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-22 13:40 filepermissons Markus Linnala
@ 1996-01-22 15:45 ` Karl_Kleinpaste
1996-01-23 15:57 ` filepermissons Lars Magne Ingebrigtsen
1 sibling, 0 replies; 8+ messages in thread
From: Karl_Kleinpaste @ 1996-01-22 15:45 UTC (permalink / raw)
Cc: ding
Markus Linnala <maage@cs.tut.fi> writes:
>Is there a way to make all .newsrc* stuff permanently unreadable to
>group & others?
There is no good excuse for having .newsrc* in ~ in the 1st place.
mkdir ~/.private
chmod 700 ~/.private # or, under AFS, "fs sa ~/.private -clear you rlidkwa"
mv ~/.newsrc* ~/.private
(setq gnus-startup-file "~/.private/.newsrc"
mail-archive-file-name "~/.private/.outgoing"
gnus-author-copy "~/.private/.news")
Embellish to taste.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-22 13:40 filepermissons Markus Linnala
1996-01-22 15:45 ` filepermissons Karl_Kleinpaste
@ 1996-01-23 15:57 ` Lars Magne Ingebrigtsen
1996-01-23 18:02 ` filepermissons Colin Rafferty
1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-23 15:57 UTC (permalink / raw)
Markus Linnala <maage@cs.tut.fi> writes:
> Is there a way to make all .newsrc* stuff permanently unreadable to
> group & others? I know what umask is. I don't want to change it.
>
> *dribble and *~ files get their permissions from umask, not from
> .newsrc as I'd like them to get.
Hmn. The *dribble autosave files do not normally have a corresponding
"real" file. How does one specify the file permissions for that file
then?
--
"Yes. The journey through the human heart
would have to wait until some other time."
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-23 15:57 ` filepermissons Lars Magne Ingebrigtsen
@ 1996-01-23 18:02 ` Colin Rafferty
1996-01-25 20:08 ` filepermissons Lars Magne Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: Colin Rafferty @ 1996-01-23 18:02 UTC (permalink / raw)
Cc: GNUS Mailing List
Lars Magne Ingebrigtsen writes:
> Markus Linnala <maage@cs.tut.fi> writes:
>> Is there a way to make all .newsrc* stuff permanently unreadable to
>> group & others? I know what umask is. I don't want to change it.
> Hmn. The *dribble autosave files do not normally have a corresponding
> "real" file.
Sure they do. In fact, I have the following in my .gnus to make certain
of that:
(add-hook 'gnus-summary-exit-hook 'gnus-dribble-save)
> How does one specify the file permissions for that file
> then?
In `gnus-dribble-read-file' after the call to `set-visited-file-name':
(set-file-modes dribble-file (+ (* 6 64) (* 0 8) (* 0 1)))
; Colin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-23 18:02 ` filepermissons Colin Rafferty
@ 1996-01-25 20:08 ` Lars Magne Ingebrigtsen
1996-01-25 21:19 ` filepermissons Colin Rafferty
0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-25 20:08 UTC (permalink / raw)
craffert@sps.ml.com (Colin Rafferty) writes:
> > Hmn. The *dribble autosave files do not normally have a corresponding
> > "real" file.
>
> Sure they do.
No, they do not normally have corresponding "real" files.
> In `gnus-dribble-read-file' after the call to `set-visited-file-name':
>
> (set-file-modes dribble-file (+ (* 6 64) (* 0 8) (* 0 1)))
(set-file-modes "~/.newsrc-soup-dribble" 644)
=> Signalling: (file-error "Doing chmod" "no such file or directory"
"/home/lars/.newsrc-soup-dribble")
--
"Yes. The journey through the human heart
would have to wait until some other time."
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-25 20:08 ` filepermissons Lars Magne Ingebrigtsen
@ 1996-01-25 21:19 ` Colin Rafferty
1996-01-26 16:46 ` filepermissons Lars Magne Ingebrigtsen
0 siblings, 1 reply; 8+ messages in thread
From: Colin Rafferty @ 1996-01-25 21:19 UTC (permalink / raw)
Lars Magne Ingebrigtsen writes:
> craffert@sps.ml.com (Colin Rafferty) writes:
>>> Hmn. The *dribble autosave files do not normally have a corresponding
>>> "real" file.
>> Sure they do.
> No, they do not normally have corresponding "real" files.
Okay, you are correct.
>> In `gnus-dribble-read-file' after the call to `set-visited-file-name':
>> (set-file-modes dribble-file (+ (* 6 64) (* 0 8) (* 0 1)))
> (set-file-modes "~/.newsrc-soup-dribble" 644)
> => Signalling: (file-error "Doing chmod" "no such file or directory"
> "/home/lars/.newsrc-soup-dribble")
Very good point. However, you can put it immediately after the call to
`save-buffer' in `gnus-dribble-save'.
--
Colin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-25 21:19 ` filepermissons Colin Rafferty
@ 1996-01-26 16:46 ` Lars Magne Ingebrigtsen
1996-02-01 16:58 ` filepermissons Hallvard B Furuseth
0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-26 16:46 UTC (permalink / raw)
craffert@sps.ml.com (Colin Rafferty) writes:
> > (set-file-modes "~/.newsrc-soup-dribble" 644)
> > => Signalling: (file-error "Doing chmod" "no such file or directory"
> > "/home/lars/.newsrc-soup-dribble")
>
> Very good point. However, you can put it immediately after the call to
> `save-buffer' in `gnus-dribble-save'.
That's true. Some people are very secretive, though. There should be
a way to specify the file permissions of the auto-saved dribble file.
One does not want people to know that one is reading
"comp.language.c++". :-)
Hm. Perhaps there is no way to do this in a straightforward manner?
Perhaps I could just write the dribble buffer to a file when I open
the buffer and set the file permissions then? Yes, that should
work..
--
"Yes. The journey through the human heart
would have to wait until some other time."
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: filepermissons
1996-01-26 16:46 ` filepermissons Lars Magne Ingebrigtsen
@ 1996-02-01 16:58 ` Hallvard B Furuseth
0 siblings, 0 replies; 8+ messages in thread
From: Hallvard B Furuseth @ 1996-02-01 16:58 UTC (permalink / raw)
Cc: ding
> Some people are very secretive, though. There should be
> a way to specify the file permissions of the auto-saved dribble file.
> One does not want people to know that one is reading
> "comp.language.c++". :-)
Right. So why not just let the default mode for files and directories
that gnus by default creates in $HOME, be 0600. If you can infer a
better mode from ~/.newsrc or whatever, fine. But while people can and
do complain about lack of privacy, I don't really expect anyone to
complain because their dribble file isn't public.
Regards,
Hallvard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1996-02-01 16:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-22 13:40 filepermissons Markus Linnala
1996-01-22 15:45 ` filepermissons Karl_Kleinpaste
1996-01-23 15:57 ` filepermissons Lars Magne Ingebrigtsen
1996-01-23 18:02 ` filepermissons Colin Rafferty
1996-01-25 20:08 ` filepermissons Lars Magne Ingebrigtsen
1996-01-25 21:19 ` filepermissons Colin Rafferty
1996-01-26 16:46 ` filepermissons Lars Magne Ingebrigtsen
1996-02-01 16:58 ` filepermissons Hallvard B Furuseth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).