mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nerijus Baliunas <nerijus@users.sourceforge.net>
To: Alexander Viro <viro@math.psu.edu>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: all files are executable in vfat
Date: Tue, 25 Sep 2001 19:01:15 +0200 (EET)	[thread overview]
Message-ID: <20010925170129.7AF958F659@mail.delfi.lt> (raw)
In-Reply-To: <Pine.GSO.4.21.0109251239250.24321-100000@weyl.math.psu.edu>
In-Reply-To: <Pine.GSO.4.21.0109251239250.24321-100000@weyl.math.psu.edu>

On Tue, 25 Sep 2001 12:47:46 -0400 (EDT) Alexander Viro <viro@math.psu.edu> wrote:

AV> > $ ls -l ls
AV> > -rwxrwxrwx    1 nerijus  nerijus     45724 Rgs 25 18:12 ls
AV> 
AV> So use the right option for that - umask=111 and there you go.

Actually I just few minutes ago thought about umask - yes, it helps,
thank you. But now I cannot enter any directory as regular user.

AV> noexec doesn't (and shouldn't) do anything about mode.  Yes, VFAT (along
AV> with explicit mechanism for doing what you want to do) used to have a
AV> bug in noexec handling.  And that's a bug - plain and simple.  Try it
AV> on any other UNIX _or_ other filesystem on Linux.

Because this bug was fixed I thought something broke instead...

AV> -o noexec means "execve() fails regardless of file permissions".  If you
AV> want "give all regular files rw-rw-rw-" - VFAT has option for that:
AV> umask.

Regards,
Nerijus


  reply	other threads:[~2001-09-25 17:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010925161621.5DB188FBA0@mail.delfi.lt>
2001-09-25 16:47 ` Alexander Viro
2001-09-25 17:01   ` Nerijus Baliunas [this message]
2001-09-25 17:06     ` Padraig Brady
2001-09-25 17:19       ` William Scott Lockwood III
2001-09-25 17:25         ` Nerijus Baliunas
2001-09-25 17:31           ` William Scott Lockwood III
2001-09-25 17:33         ` Alexander Viro
2001-09-25 17:37           ` Padraig Brady
2001-09-25 18:31             ` Christian Bornträger
2001-09-25 18:28           ` Oliver Xymoron
2001-09-25 18:34             ` Alexander Viro
2001-09-25 18:47               ` Oliver Xymoron
2001-09-25 19:02               ` Trond Myklebust
2001-09-25 19:31                 ` Alexander Viro
2001-09-25 19:47                 ` Trond Myklebust
2001-09-26  0:41               ` Chris Wright
2001-09-25 18:35             ` Ignacio Vazquez-Abrams
2001-09-28 21:50               ` Florian Weimer
2001-09-28 22:04                 ` Alan Cox
2001-09-29 17:37                   ` Florian Weimer
2001-09-29 18:32                     ` Alan Cox
2001-09-28 17:58           ` Florian Weimer
2001-10-01 12:10             ` Padraig Brady
2001-09-29  8:41 Petr Titera
  -- strict thread matches above, loose matches on Subject: below --
2001-09-25 15:23 Nerijus Baliunas
2001-09-25 16:09 ` Alexander Viro
2001-09-25 16:15   ` Nerijus Baliunas

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=20010925170129.7AF958F659@mail.delfi.lt \
    --to=nerijus@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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

Powered by JetHome