mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: regatta <regatta@gmail.com>
To: Arjan van de Ven <arjan@infradead.org>,
	Wichert Akkerman <wichert@wiggy.net>,
	Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: linux-kernel@vger.kernel.org
Subject: Re: FS possible security exposure ?
Date: Sun, 25 Dec 2005 14:42:50 +0300	[thread overview]
Message-ID: <5a3ed5650512250342s60f507ffrbff1688bab82c1b0@mail.gmail.com> (raw)
In-Reply-To: <1135505852.2946.12.camel@laptopd505.fenrus.org>

Thank you all, it was great information that you shared with me



On 12/25/05, Arjan van de Ven <arjan@infradead.org> wrote:
> On Sun, 2005-12-25 at 13:10 +0300, regatta wrote:
> > I'm using Vi in Solaris and Vim in Linux, do you think this is the
> > problem ?
>
> that very well can be the difference
>
> > but if you think about it, how could the system allow the user to
> > modify a file that he don't own it and he don't have write privilege
> > on the file just because he has write in the parent directory ?
> >
> > Maybe I'm wrong, but is this normal ? please let me know
>
> this is normal and a result of the linux permission model.
> (and fwiw you don't get to edit the file, only to create a new file. You
> may think that's exactly the same.. but it's not in the light of
> hardlinks)
>
> Btw there is a "sticky bit" you can set on the directory which changes this behavior,
> for example /tmp has this set for obvious reasons
>
> > BTW: is there any document, article or any page about this so I can
> > show it to my boss :)
>
> I suspect the SUS standard fully specifies the 4 rules I mentioned and
> the sticky-exception (and the rest is an obvious result)
>
>
>


--
Best Regards,
--------------------
-*- If Linux doesn't have the solution, you have the wrong problem -*-

  reply	other threads:[~2005-12-25 11:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-25  9:29 regatta
2005-12-25  9:40 ` Arjan van de Ven
2005-12-25 10:10   ` regatta
2005-12-25 10:12     ` Wichert Akkerman
2005-12-25 10:17     ` Arjan van de Ven
2005-12-25 11:42       ` regatta [this message]
2005-12-25  9:45 ` Trond Myklebust

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=5a3ed5650512250342s60f507ffrbff1688bab82c1b0@mail.gmail.com \
    --to=regatta@gmail.com \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trond.myklebust@fys.uio.no \
    --cc=wichert@wiggy.net \
    /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

all inboxes | Powered by JetHome®