mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Pleger <Christoph.Pleger@cs.tu-dortmund.de>
To: linux-kernel@vger.kernel.org
Subject: Re: chmod fails though it pretends to succeed
Date: Thu, 28 May 2009 09:32:34 +0200	[thread overview]
Message-ID: <20090528093234.b62bfc08.Christoph.Pleger@cs.tu-dortmund.de> (raw)
In-Reply-To: <4A1B2DD6.3050405@gmail.com>

Hello,

On Mon, 25 May 2009 17:46:30 -0600
Robert Hancock <hancockrwd@gmail.com> wrote:

> > Now I have two questions:
> > 
> > 1. What can be the reason for chmod to return a value of 0 though
> > device permissions have not been changed?
> > 
> > 2. What can be the reason why this chmod fails on the first login
> > of a user, but succeeds on further logins?
> 
> Are you sure that some other process is not changing the device 
> permissions also?

Maybe, but I do not have an idea what this can be. And if some other
process is interfering, why does this only happen on first login after
boot?

What completely surprises me is that when I install the Debian
lenny package of libpam-devperm (that works perfectly on lenny) on my
Ubuntu jaunty PC, it also does not change device permissions on first
login of a user.

Regards
  Christoph 

      reply	other threads:[~2009-05-28  7:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-25 14:44 Christoph Pleger
2009-05-25 23:46 ` Robert Hancock
2009-05-28  7:32   ` Christoph Pleger [this message]

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=20090528093234.b62bfc08.Christoph.Pleger@cs.tu-dortmund.de \
    --to=christoph.pleger@cs.tu-dortmund.de \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®