mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfstests: do not call attr/getfattr/setfattr direcly
always use the full path set up in common.attr. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Alex Elder <aelder@sgi.com>
This commit is contained in:
committed by
Alex Elder
parent
d0b69e2ee6
commit
3d3893eef9
@@ -138,16 +138,16 @@ echo "restore perms on file"
|
||||
chmod 777 $file
|
||||
|
||||
echo "set a root EA on file"
|
||||
attr -R -s test -V testval $file | _filefilter
|
||||
${ATTR_PROG} -R -s test -V testval $file | _filefilter
|
||||
|
||||
echo "list EA on file"
|
||||
attr -R -l $file | _filefilter
|
||||
${ATTR_PROG} -R -l $file | _filefilter
|
||||
|
||||
echo "as non-root try to append to file"
|
||||
$runas -u $uid $tmp.append 2>&1 | _filefilter
|
||||
|
||||
echo "list EA on file"
|
||||
attr -R -l $file | _filefilter
|
||||
${ATTR_PROG} -R -l $file | _filefilter
|
||||
|
||||
chown $uid $file
|
||||
chmod ugo+w $testdir
|
||||
|
||||
Reference in New Issue
Block a user