public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Chinner <david@fromorbit.com>
To: nailman23@gmail.com
Cc: xfs@oss.sgi.com
Subject: Re: XFS and Extended ACLs
Date: Wed, 30 Jun 2010 09:15:43 +1000	[thread overview]
Message-ID: <20100629231543.GC6590@dastard> (raw)
In-Reply-To: <001636458d40cae4e1048a2bf4e9@google.com>

On Tue, Jun 29, 2010 at 02:21:42PM +0000, nailman23@gmail.com wrote:
> Hi All,
> 
> I have an issue with extended ACLs. The situation is as follows:
> 1) There are two users (UserA and UserB)
> 2) They belong to the same group (users)
> 3) The SAMBA share called "test" has user access enabled for UserA and UserB
> 4) The UserA creates test.docx file on the "test" share and he
> becomes the owner of the file.
> 5) Then UserB edits the test.docx file and save changes. After that
> UserB becomes the owner. It is not an issue because when editing the
> file Word creates new temporary file and then, during saving,
> overwrites the original file. The issue is when you check ACLs entry
> you will see that UserA has his own ACLs entries, although he
> already belongs to the "users" groups.
> 
> This occurs when the share has XFS file system in the bottom.
> 
> Then I have created an ext3 file system on the logical volume and
> after performing all steps, the UserB was owner of the file, but the
> UserA was no longer listed in ACLs entries.

Can you provide a script that demonstrates the problem?

> It seems the issue comes from XFS and the way as the XFS handles the
> ACLs permissions.

XFS uses the most of the generic code for getting and setting ACLs,
so there shouldn't be any difference unless there is a bug or you
are using an old kernel. What kernel are you running?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

      reply	other threads:[~2010-06-29 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 14:21 XFS and Extended ACLs nailman23
2010-06-29 23:15 ` Dave Chinner [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=20100629231543.GC6590@dastard \
    --to=david@fromorbit.com \
    --cc=nailman23@gmail.com \
    --cc=xfs@oss.sgi.com \
    /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