From: Carlos Maiolino <cmaiolino@redhat.com>
To: Ben Myers <bpm@sgi.com>
Cc: Eric Sandeen <sandeen@redhat.com>,
Eric Sandeen <sandeen@sandeen.net>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: [PATCH V2] xfstests: generic/313, test sgid inheritance on subdirs
Date: Thu, 11 Jul 2013 14:53:16 -0300 [thread overview]
Message-ID: <20130711175315.GB10711@andromeda.usersys.redhat.com> (raw)
In-Reply-To: <20130708215151.GK20932@sgi.com>
On Mon, Jul 08, 2013 at 04:51:51PM -0500, Ben Myers wrote:
> Hey Carlos & Eric,
>
> On Wed, Jun 12, 2013 at 04:23:20PM -0300, Carlos Maiolino wrote:
> > I'm personally working on this bug with Eric, and the test properly trigger the
> > bug on 100% of the test runs, but, it should also ensure that
> > `irix_sgid_inherit` sysctl is set to 0, if not, the test will fail.
> >
> > follow is a suggestion for a better changelog:
> >
> > Tests if subdirectories created on the filesystem will properly inherit sgid bit
> > when this is set on the parent directory, once the process has the properly
> > permissions to create a subdirectory, this, should inherit parent's sgid bit if
> > this is set and irix_sgid_inherit sysctl is disabled.
>
> I applied this and tested with Carlos's latest patch:
>
> generic/313 - output mismatch (see /root/xfstests/results/generic/313.out.bad)
> --- tests/generic/313.out 2013-07-08 16:27:41.787710646 -0500
> +++ /root/xfstests/results/generic/313.out.bad 2013-07-08 16:47:46.052683735 -0500
> @@ -1,3 +1,3 @@
> QA output created by 313
> -drwxr-sr-x. TEST_DIR/313-dir/subdir
> +drwxr-sr-x TEST_DIR/313-dir/subdir
> drwxrwsr-x+ TEST_DIR/313-dir/subdir2
> ...
> (Run 'diff -u tests/generic/313.out /root/xfstests/results/generic/313.out.bad' to see the entire diff)
>
> Looks like there could be a problem with ls? Have you seen that?
>
> Thanks,
> Ben
>
Actually I don't think this is a problem, but the way newer `ls` versions are
displaying the object permissions (the 'dot' at the end of the permissions,
indicating there are no extra attributes).
I'm going to take a look on what's going on, but I still believe it's just a
matter of add the 'dot' to the xfstests correct output.
I had this same problem when testing my patch and needed to fix it locally, but
missed to warn you guys, my apologies
--
Carlos
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2013-07-11 17:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-29 22:30 [PATCH] xfstests: generic/313, test sgid inheritance on subdirs Eric Sandeen
2013-05-30 20:02 ` [PATCH V2] " Eric Sandeen
2013-06-12 19:23 ` Carlos Maiolino
2013-07-08 21:51 ` Ben Myers
2013-07-11 17:53 ` Carlos Maiolino [this message]
2013-07-11 18:28 ` Carlos Maiolino
2013-07-11 18:34 ` Eric Sandeen
2013-07-11 18:53 ` Eric Sandeen
2013-07-12 18:51 ` [PATCH V3] xfstests: generic/314, " Eric Sandeen
2013-07-12 19:21 ` Carlos Maiolino
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=20130711175315.GB10711@andromeda.usersys.redhat.com \
--to=cmaiolino@redhat.com \
--cc=bpm@sgi.com \
--cc=sandeen@redhat.com \
--cc=sandeen@sandeen.net \
--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