[LU-5576] sanity test_103a: Error: 'permissions failed' Created: 03/Sep/14 Updated: 13/May/16 Resolved: 07/Sep/14 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 15556 | ||||||||
| Description |
|
This issue was created by maloo for Dmitry Eremin <dmitry.eremin@intel.com> This issue relates to the following test suite run: performing permissions...
[12] $ id -u -- ok
[19] $ mkdir d -- ok
[20] $ cd d -- ok
[21] $ umask 027 -- ok
[22] $ touch f -- ok
[23] $ ls -l f | awk -- '{ print $1, $3, $4 }' -- ok
[30] $ echo root > f -- ok
[32] $ su daemon -- ok
[33] $ echo daemon >> f -- ok
[36] $ su -- ok
[42] $ chown bin:bin f -- ok
[43] $ ls -l f | awk -- '{ print $1, $3, $4 }' -- ok
[45] $ su bin -- ok
[46] $ echo bin >> f -- ok
[52] $ su daemon -- ok
[53] $ cat f -- failed
root ? cat: f: Permission denied
bin ? ~
[57] $ echo daemon >> f -- ok
|
| Comments |
| Comment by Dmitry Eremin (Inactive) [ 07/Sep/14 ] |
|
This was because of absence the l_getidentity utility on client side. |
| Comment by Bob Glossman (Inactive) [ 18/Sep/14 ] |
|
Test 103a fails when the client node is running el7 for a different reason. some of the permissions subtests of 103a assume the user 'daemon' is a member of the group 'bin'. In a default install of el7 this isn't true. If I manually add 'daemon' as a member of the group 'bin' by editing the /etc/group file on the client node(s) for the test then test 103a passes 100%. I think it may be a TEI issue to ensure that the expected, assumed user/group setup is done on el7 test installs. |
| Comment by Bob Glossman (Inactive) [ 18/Sep/14 ] |
|
will create a separate ticket for the el7 specific problem I mentioned above |
| Comment by Yang Sheng [ 23/Nov/15 ] |
|
Hi, Yujian, Looks like not same issue. You encountered one obviously cause by environment. we need porting other patch. |
| Comment by Bob Glossman (Inactive) [ 23/Nov/15 ] |
|
the el7 specific mod referred to is |