Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Add note about Oort Gnus releases, and No Gnus.
Date: Sun, 19 Dec 2010 08:41:32 -0600	[thread overview]
Message-ID: <87zks1su3n.fsf@lifelogs.com> (raw)
In-Reply-To: <87r5demzhh.fsf@topper.koldfront.dk>

On Sun, 19 Dec 2010 00:29:30 +0100 asjo@koldfront.dk (Adam Sjøgren) wrote: 

AS> On Sat, 18 Dec 2010 10:08:53 -0600, Ted wrote:
>> No, because pulling in place means that at least for a little bit you
>> have the wrong permissions on things.

AS> How come? Does any of the files on the website need special permissions?

Not currently.  But like I said, Git is plain stupid when it comes to
permissions and I don't want to trust it with them.  Maybe if we
combined Git with metastore or etckeeper it would work, but I'm not
confident and the scale of this work doesn't warrant it.

>>>> Also the .git directory under the HTML tree would bother me and is a
>>>> potential security risk.

AS> Again I am probably dense, but how would the content of .git pose a
AS> security risk?

>> It could be used by an attacker to hide files, for instance.

AS> If an attacker can put files in .git, couldn't he put them anywhere else
AS> as well?

It's a hidden directory that's served by the webserver, which makes it a
nice juicy target.  It's a small security risk but I'd rather not take it.

AS> To me a deployment process that uses sudo a number of times seems more
AS> questionable than one that runs fewer commands and unprivileged, but
AS> what do I know :-)

I realized I forgot to qualify the paths completely when you mentioned
that :)

I don't think sudo is a problem when it calls trusted commands with
known parameters.  I know exactly what chown, chmod, and rsync will do
as I listed them.  Git, on the other hand, is extremely complex and, as
I said, not written with security in mind.  So my choices are more
conservative.

Ted




  reply	other threads:[~2010-12-19 14:41 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-27 15:47 Latest version of Gnus? Tommy Kelly
2010-11-27 16:47 ` Adam Sjøgren
2010-11-27 18:35   ` Tommy Kelly
2010-11-27 18:47     ` Adam Sjøgren
2010-12-14 23:12       ` Ted Zlatanov
2010-12-16 21:00         ` [PATCH] Add note about Oort Gnus releases, and No Gnus Adam Sjøgren
2010-12-16 21:35           ` Ted Zlatanov
2010-12-17 14:14             ` Ted Zlatanov
2010-12-17 14:22               ` Lars Magne Ingebrigtsen
2010-12-18 15:13                 ` Ted Zlatanov
2010-12-18 15:20                   ` Adam Sjøgren
2010-12-18 15:30                     ` Ted Zlatanov
2010-12-18 15:44                       ` Adam Sjøgren
2010-12-18 16:08                         ` Ted Zlatanov
2010-12-18 23:29                           ` Adam Sjøgren
2010-12-19 14:41                             ` Ted Zlatanov [this message]
2010-12-18 18:58                   ` [PATCH] " Lars Magne Ingebrigtsen
2010-12-19 14:24                     ` Ted Zlatanov
2010-12-19 15:45                       ` Lars Magne Ingebrigtsen
2011-03-17 11:28                         ` HTML deployments from Git (was: [PATCH] Add note about Oort Gnus releases, and No Gnus.) Ted Zlatanov
2011-03-17 16:47                           ` HTML deployments from Git Lars Magne Ingebrigtsen
2011-03-17 17:19                             ` Ted Zlatanov
2011-03-17 17:27                               ` Lars Magne Ingebrigtsen
2011-03-18 10:30                                 ` Ted Zlatanov
2011-03-29 18:50                                   ` Lars Magne Ingebrigtsen
2011-03-29 19:17                                     ` Ted Zlatanov
2011-03-29 19:36                                       ` Lars Magne Ingebrigtsen
2011-03-29 19:46                                         ` Ted Zlatanov
2011-03-30 10:08                                           ` Ted Zlatanov
2011-04-03 17:44                                             ` Lars Magne Ingebrigtsen
2011-04-04 10:03                                               ` Ted Zlatanov
2011-04-12 16:27                                                 ` Lars Magne Ingebrigtsen
2011-04-12 17:16                                                   ` Ted Zlatanov
2011-04-12 17:23                                                     ` Lars Magne Ingebrigtsen
2011-04-12 17:26                                                       ` Lars Magne Ingebrigtsen
2011-04-25 12:35                                                         ` Ted Zlatanov
2011-05-01 14:57                                                           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zks1su3n.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).