All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Felipe Monteiro de Carvalho <felipemonteiro.carvalho@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: File permissions in ext4
Date: Thu, 01 Aug 2013 12:27:56 -0500	[thread overview]
Message-ID: <51FA9A9C.1090301@redhat.com> (raw)
In-Reply-To: <CACyNnZM51RDcyzah_nbQA+tSYDVAXsduzDkGAK-gjfBfo1NWDg@mail.gmail.com>

On 8/1/13 7:34 AM, Felipe Monteiro de Carvalho wrote:
> Hello,
> 
> Ok, I found that the permissions that I was looking for are stored in
> ext4_inode.i_mode ... but still there is the question: What is ACL
> used for then, and when is it different than zero?
> 
> thanks =)
> 

It is the block number containing an extended attribute for that inode,
if any; that extended attribute may be a file ACL.

It's a bit odd to call the xattr block "ACL" but it is what it is.  ;)

-Eric

      parent reply	other threads:[~2013-08-01 17:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-01 12:02 File permissions in ext4 Felipe Monteiro de Carvalho
2013-08-01 12:34 ` Felipe Monteiro de Carvalho
2013-08-01 12:59   ` Vyacheslav Dubeyko
2013-08-01 13:09     ` Felipe Monteiro de Carvalho
2013-08-01 13:19       ` Felipe Monteiro de Carvalho
2013-08-01 13:21       ` Vyacheslav Dubeyko
2013-08-01 13:23         ` Felipe Monteiro de Carvalho
2013-08-01 13:35           ` Vyacheslav Dubeyko
2013-08-01 17:27   ` Eric Sandeen [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=51FA9A9C.1090301@redhat.com \
    --to=sandeen@redhat.com \
    --cc=felipemonteiro.carvalho@gmail.com \
    --cc=linux-ext4@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.