Update 062, because permissions now enforced in VFS and symlink/dev attrs are disallowed.

Merge of master-melb:xfs-cmds:25210a by kenmcd.
This commit is contained in:
Nathan Scott
2006-02-16 02:50:35 +00:00
parent 5ba1d7847e
commit 7d94b0d4bb
+48 -156
View File
@@ -112,190 +112,102 @@ user.name3=0xdeface
=== TYPE lnk; NAMESPACE user
*** set/get one initially empty attribute
# file: SCRATCH_MNT/lnk
user.name
setfattr: /mnt/xfs0/lnk: Operation not permitted
*** overwrite empty, set several new attributes
setfattr: /mnt/xfs0/lnk: Operation not permitted
setfattr: /mnt/xfs0/lnk: Operation not permitted
setfattr: /mnt/xfs0/lnk: Operation not permitted
*** fetch several attribute names and values (hex)
# file: SCRATCH_MNT/lnk
user.name=0xbabe
user.name2=0xdeadbeef
user.name3=0xdeface
*** fetch several attribute names and values (base64)
# file: SCRATCH_MNT/lnk
user.name=0sur4=
user.name2=0s3q2+7w==
user.name3=0s3vrO
*** shrink value of an existing attribute
# file: SCRATCH_MNT/lnk
user.name=0xbabe
user.name2=0xdeaf
user.name3=0xdeface
setfattr: /mnt/xfs0/lnk: Operation not permitted
*** grow value of existing attribute
# file: SCRATCH_MNT/lnk
user.name=0xbabe
user.name2=0xdecade
user.name3=0xdeface
setfattr: /mnt/xfs0/lnk: Operation not permitted
*** set an empty value for second attribute
# file: SCRATCH_MNT/lnk
user.name2
setfattr: /mnt/xfs0/lnk: Operation not permitted
SCRATCH_MNT/lnk: user.name2: Operation not permitted
*** overwrite empty value
# file: SCRATCH_MNT/lnk
user.name2=0xcafe
setfattr: /mnt/xfs0/lnk: Operation not permitted
SCRATCH_MNT/lnk: user.name2: Operation not permitted
*** remove attribute
SCRATCH_MNT/lnk: user.name2: No such attribute
setfattr: /mnt/xfs0/lnk: Operation not permitted
SCRATCH_MNT/lnk: user.name2: Operation not permitted
*** final list (strings, type=lnk, nsp=user)
# file: SCRATCH_MNT/lnk
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/b; NAMESPACE user
*** set/get one initially empty attribute
# file: SCRATCH_MNT/dev/b
user.name
setfattr: /mnt/xfs0/dev/b: Operation not permitted
*** overwrite empty, set several new attributes
setfattr: /mnt/xfs0/dev/b: Operation not permitted
setfattr: /mnt/xfs0/dev/b: Operation not permitted
setfattr: /mnt/xfs0/dev/b: Operation not permitted
*** fetch several attribute names and values (hex)
# file: SCRATCH_MNT/dev/b
user.name=0xbabe
user.name2=0xdeadbeef
user.name3=0xdeface
*** fetch several attribute names and values (base64)
# file: SCRATCH_MNT/dev/b
user.name=0sur4=
user.name2=0s3q2+7w==
user.name3=0s3vrO
*** shrink value of an existing attribute
# file: SCRATCH_MNT/dev/b
user.name=0xbabe
user.name2=0xdeaf
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/b: Operation not permitted
*** grow value of existing attribute
# file: SCRATCH_MNT/dev/b
user.name=0xbabe
user.name2=0xdecade
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/b: Operation not permitted
*** set an empty value for second attribute
# file: SCRATCH_MNT/dev/b
user.name2
setfattr: /mnt/xfs0/dev/b: Operation not permitted
SCRATCH_MNT/dev/b: user.name2: Operation not permitted
*** overwrite empty value
# file: SCRATCH_MNT/dev/b
user.name2=0xcafe
setfattr: /mnt/xfs0/dev/b: Operation not permitted
SCRATCH_MNT/dev/b: user.name2: Operation not permitted
*** remove attribute
SCRATCH_MNT/dev/b: user.name2: No such attribute
setfattr: /mnt/xfs0/dev/b: Operation not permitted
SCRATCH_MNT/dev/b: user.name2: Operation not permitted
*** final list (strings, type=dev/b, nsp=user)
# file: SCRATCH_MNT/dev/b
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/c; NAMESPACE user
*** set/get one initially empty attribute
# file: SCRATCH_MNT/dev/c
user.name
setfattr: /mnt/xfs0/dev/c: Operation not permitted
*** overwrite empty, set several new attributes
setfattr: /mnt/xfs0/dev/c: Operation not permitted
setfattr: /mnt/xfs0/dev/c: Operation not permitted
setfattr: /mnt/xfs0/dev/c: Operation not permitted
*** fetch several attribute names and values (hex)
# file: SCRATCH_MNT/dev/c
user.name=0xbabe
user.name2=0xdeadbeef
user.name3=0xdeface
*** fetch several attribute names and values (base64)
# file: SCRATCH_MNT/dev/c
user.name=0sur4=
user.name2=0s3q2+7w==
user.name3=0s3vrO
*** shrink value of an existing attribute
# file: SCRATCH_MNT/dev/c
user.name=0xbabe
user.name2=0xdeaf
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/c: Operation not permitted
*** grow value of existing attribute
# file: SCRATCH_MNT/dev/c
user.name=0xbabe
user.name2=0xdecade
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/c: Operation not permitted
*** set an empty value for second attribute
# file: SCRATCH_MNT/dev/c
user.name2
setfattr: /mnt/xfs0/dev/c: Operation not permitted
SCRATCH_MNT/dev/c: user.name2: Operation not permitted
*** overwrite empty value
# file: SCRATCH_MNT/dev/c
user.name2=0xcafe
setfattr: /mnt/xfs0/dev/c: Operation not permitted
SCRATCH_MNT/dev/c: user.name2: Operation not permitted
*** remove attribute
SCRATCH_MNT/dev/c: user.name2: No such attribute
setfattr: /mnt/xfs0/dev/c: Operation not permitted
SCRATCH_MNT/dev/c: user.name2: Operation not permitted
*** final list (strings, type=dev/c, nsp=user)
# file: SCRATCH_MNT/dev/c
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/p; NAMESPACE user
*** set/get one initially empty attribute
# file: SCRATCH_MNT/dev/p
user.name
setfattr: /mnt/xfs0/dev/p: Operation not permitted
*** overwrite empty, set several new attributes
setfattr: /mnt/xfs0/dev/p: Operation not permitted
setfattr: /mnt/xfs0/dev/p: Operation not permitted
setfattr: /mnt/xfs0/dev/p: Operation not permitted
*** fetch several attribute names and values (hex)
# file: SCRATCH_MNT/dev/p
user.name=0xbabe
user.name2=0xdeadbeef
user.name3=0xdeface
*** fetch several attribute names and values (base64)
# file: SCRATCH_MNT/dev/p
user.name=0sur4=
user.name2=0s3q2+7w==
user.name3=0s3vrO
*** shrink value of an existing attribute
# file: SCRATCH_MNT/dev/p
user.name=0xbabe
user.name2=0xdeaf
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/p: Operation not permitted
*** grow value of existing attribute
# file: SCRATCH_MNT/dev/p
user.name=0xbabe
user.name2=0xdecade
user.name3=0xdeface
setfattr: /mnt/xfs0/dev/p: Operation not permitted
*** set an empty value for second attribute
# file: SCRATCH_MNT/dev/p
user.name2
setfattr: /mnt/xfs0/dev/p: Operation not permitted
SCRATCH_MNT/dev/p: user.name2: Operation not permitted
*** overwrite empty value
# file: SCRATCH_MNT/dev/p
user.name2=0xcafe
setfattr: /mnt/xfs0/dev/p: Operation not permitted
SCRATCH_MNT/dev/p: user.name2: Operation not permitted
*** remove attribute
SCRATCH_MNT/dev/p: user.name2: No such attribute
setfattr: /mnt/xfs0/dev/p: Operation not permitted
SCRATCH_MNT/dev/p: user.name2: Operation not permitted
*** final list (strings, type=dev/p, nsp=user)
# file: SCRATCH_MNT/dev/p
user.name=0xbabe
user.name3=0xdeface
=== TYPE reg; NAMESPACE trusted
@@ -440,8 +352,6 @@ SCRATCH_MNT/lnk: trusted.name2: No such attribute
# file: SCRATCH_MNT/lnk
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/b; NAMESPACE trusted
@@ -489,8 +399,6 @@ SCRATCH_MNT/dev/b: trusted.name2: No such attribute
# file: SCRATCH_MNT/dev/b
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/c; NAMESPACE trusted
@@ -538,8 +446,6 @@ SCRATCH_MNT/dev/c: trusted.name2: No such attribute
# file: SCRATCH_MNT/dev/c
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
=== TYPE dev/p; NAMESPACE trusted
@@ -587,8 +493,6 @@ SCRATCH_MNT/dev/p: trusted.name2: No such attribute
# file: SCRATCH_MNT/dev/p
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
@@ -625,20 +529,14 @@ user.name3=0xdeface
# file: SCRATCH_MNT/dev/b
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/dev/c
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/dev/p
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/here
trusted.9=0x3837
@@ -681,20 +579,14 @@ user.name3=0xdeface
# file: SCRATCH_MNT/dev/b
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/dev/c
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/dev/p
trusted.name=0xbabe
trusted.name3=0xdeface
user.name=0xbabe
user.name3=0xdeface
# file: SCRATCH_MNT/here
trusted.9=0x3837