[LU-377] POSIX: chmod.5: chown("chmod-t.5", 1001, 1000) failed - errno 1 (EPERM) Created: 31/May/11 Updated: 30/May/17 Resolved: 30/May/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 1.8.8, Lustre 1.8.7, Lustre 1.8.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jian Yu | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Lustre Branch: b1_8 |
||
| Severity: | 3 |
| Bugzilla ID: | 23,360 |
| Rank (Obsolete): | 10249 |
| Description |
|
Here is the result of running the LSB-VSX POSIX test suite (lts_vsx-pcts2.0beta2.tgz): The baseline is ext4.
FAILURE DESCRIPTIONS:
####################################################
Test Name: chmod.5 Unresolved
Test Description:
If the implementation supports the setting of S_ISUID and S_ISGID,
then a successful call to chmod(path, mode), when the effective user
ID matches the user ID of the file, sets S_ISUID, S_ISGID, and the
file permission bits of the named file according to the bit pattern
contained in the argument mode and returns a value of zero.
In FIPS, XPG4 and UNIX modes, setting of S_ISUID and S_ISGID must be
supported.
Posix Ref: Component CHMOD Assertion 5.6.4.2-27(C)
Test Information:
deletion reason: chown("chmod-t.5", 1001, 1000) failed - errno 1 (EPERM)
|
| Comments |
| Comment by Andreas Dilger [ 31/May/11 ] |
|
Does the MDS have the group_upcall configured, and /etc/passwd and /etc/group modified to match the users and groups configured on the client? Do you know if this (and other POSIX tests) passed with 1.8.5? |
| Comment by Jian Yu [ 01/Jun/11 ] |
Yes. # lctl get_param mds.*.group_upcall mds.lustre-MDT0000.group_upcall=/usr/sbin/l_getgroups
All of the tests also failed on Lustre 1.8.4: bug 23359 It seems that the POSIX compliance testing was not run on Lustre 1.8.5. |
| Comment by Jian Yu [ 17/Jun/11 ] |
|
Lustre Branch: v1_8_6_RC2 POSIX compliance testing report: https://maloo.whamcloud.com/test_sets/2cd4d244-98d1-11e0-9a27-52540025f9af The baseline is ext4. |
| Comment by Jian Yu [ 11/Oct/11 ] |
|
Lustre Tag: v1_8_7_WC1_RC1 POSIX compliance testing report: https://maloo.whamcloud.com/test_sets/30866dc0-f3ef-11e0-908b-52540025f9af The baseline is ext4. |
| Comment by Jian Yu [ 11/May/12 ] |
|
Lustre Tag: v1_8_8_WC1_RC1 POSIX compliance testing report: https://maloo.whamcloud.com/test_sets/99712946-9b2a-11e1-a0a0-52540035b04c The baseline is ext4. |
| Comment by Andreas Dilger [ 29/May/17 ] |
|
Does this test still fail with master, or should it be closed? |
| Comment by Jian Yu [ 30/May/17 ] |
|
posix test passed on master branch (build #3593): Let's close this ticket. |