Home | History | Annotate | Download | only in acl

Lines Matching refs:tacl

72 if [ ! -e tacl ]
74 mkdir -m 777 tacl
76 echo "FAILED: Directory tacl are exist"
80 dd if=/dev/zero of=tacl/blkext2 bs=1k count=10240
81 chmod 777 tacl/blkext2
83 losetup /dev/loop0 tacl/blkext2 >/dev/null 2>&1
96 mkdir -m 777 tacl/mount-ext2
97 mount -t ext3 -o defaults,acl,user_xattr /dev/loop0 tacl/mount-ext2
109 mkdir -m 777 tacl/mount-ext2
110 mount -t ext2 -o defaults,acl,user_xattr /dev/loop0 tacl/mount-ext2
121 chmod 777 tacl/mount-ext2
123 useradd -d `pwd`/tacl/tacluser1 tacluser1
124 useradd -d `pwd`/tacl/tacluser2 tacluser2
125 useradd -d `pwd`/tacl/tacluser3 tacluser3
126 useradd -d `pwd`/tacl/tacluser4 tacluser4
128 if [ ! -e tacl/mount-ext2/shared ]
130 mkdir -p -m 777 tacl/mount-ext2/shared
137 mkdir $CUR_PATH/tacl/mount-ext2/shared/team1
138 touch $CUR_PATH/tacl/mount-ext2/shared/team1/file1
140 cd $CUR_PATH/tacl/mount-ext2/shared/team1
144 cd $CUR_PATH/tacl/mount-ext2/shared
152 mkdir $CUR_PATH/tacl/mount-ext2/shared/team2
153 touch $CUR_PATH/tacl/mount-ext2/shared/team2/file1
155 cd $CUR_PATH/tacl/mount-ext2/shared/team2
159 cd $CUR_PATH/tacl/mount-ext2/shared
175 chmod 500 tacl/mount-ext2/shared/team1
179 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfil1 2> /dev/null
180 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile1 ]
190 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfil2 2> /dev/null
191 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile2 ]
213 setfacl -m u::rx tacl/mount-ext2/shared/team1
216 cd $CUR_PATH/tacl/mount-ext2/shared/team1/ 2> /dev/null
228 cd $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/ 2> /dev/null
242 setfacl -m u::rwx tacl/mount-ext2/shared/team1
246 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfil1 2> /dev/null
247 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile1 ]
258 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfil2 2> /dev/null
259 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile2 ]
282 setfacl -m u:tacluser3:rwx tacl/mount-ext2/shared/team1
286 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile3 2> /dev/null
287 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile3 ]
298 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile4 2> /dev/null
299 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile4 ]
312 setfacl -m mask:--- tacl/mount-ext2/shared/team1
316 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile5 2> /dev/null
317 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile5 ]
330 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile6 2> /dev/null
331 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile6 ]
367 setfacl -m g:tacluser2:rwx tacl/mount-ext2/shared/team1
370 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile7 2> /dev/null
371 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile7 ]
382 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile8 2> /dev/null
383 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile8 ]
396 setfacl -m mask:--- tacl/mount-ext2/shared/team1
399 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile9 2> /dev/null
400 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile9 ]
413 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile10 2> /dev/null
414 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile10 ]
429 setfacl -m g::rwx tacl/mount-ext2/shared/team1
434 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile11 2> /dev/null
435 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile11 ]
446 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile12 2> /dev/null
447 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile12 ]
460 setfacl -m mask:--- tacl/mount-ext2/shared/team1
463 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile13 2> /dev/null
464 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile13 ]
477 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile14 2> /dev/null
478 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile14 ]
501 setfacl -m o::rwx tacl/mount-ext2/shared/team1
505 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile15 2> /dev/null
506 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile15 ]
517 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile16 2> /dev/null
518 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile16 ]
531 setfacl -m mask:--- tacl/mount-ext2/shared/team1
535 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile17 2> /dev/null
536 if [ -e $CUR_PATH/tacl/mount-ext2/shared/team1/newfile17 ]
545 touch $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile18 2> /dev/null
546 if [ -e $CUR_PATH/tacl/mount-ext2/shared/symlinkdir1/newfile18 ]
564 rm -f tacl/mount-ext2/shared/team1/newfil*
569 setfacl -m d:u::r -m d:g::r -m d:o::r tacl/mount-ext2/shared/team1
575 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile1
581 CONTENT=`ls -l tacl/mount-ext2/shared/team1/newfile1`
598 setfacl -m d:u:tacluser3:rw -m d:g:tacluser3:rw tacl/mount-ext2/shared/team1
603 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile2
609 CONTENT=`ls -l tacl/mount-ext2/shared/team1/newfile2`
625 setfacl -m d:u::rwx -m d:g::rwx -m d:o::rwx tacl/mount-ext2/shared/team1
630 touch $CUR_PATH/tacl/mount-ext2/shared/team1/newfile3
636 CONTENT=`ls -l tacl/mount-ext2/shared/team1/newfile3`
658 chmod 777 $CUR_PATH/tacl/mount-ext2/shared/team1/newfile3
663 CONTENT=`getfacl tacl/mount-ext2/shared/team1/newfile3`
698 chown tacluser2.tacluser2 tacl/mount-ext2/shared/team1/newfile2
700 CONTENT=`getfacl tacl/mount-ext2/shared/team1/newfile2`
725 getfacl -RL tacl/mount-ext2/ > tacl/tmp1
726 setfacl -m u::--- -m g::--- -m o::--- tacl/mount-ext2/shared/team1
727 setfacl --restore tacl/tmp1
728 getfacl -RL tacl/mount-ext2/ > tacl/tmp2
730 if [ `diff tacl/tmp1 tacl/tmp2` ]
755 attr -s attrname1 -V attrvalue1 tacl/mount-ext2/shared/team2
765 attr -s attrname2 -V attrvalue2 tacl/mount-ext2/shared/team2/file1
775 attr -s attrname3 -V attrvalue3 tacl/mount-ext2/shared/team2/symlinkfile1
782 ls -lRt tacl/mount-ext2/shared/team2
789 getfattr -d tacl/mount-ext2/shared/team2
796 getfattr -dR tacl/mount-ext2/*
804 getfattr -h --no-dereference tacl/mount-ext2/shared/team2/symlinkfile1
812 getfattr -L tacl/mount-ext2/shared/team2/*
819 getfattr -P tacl/mount-ext2/shared/team2/*
826 attr -g attrname1 tacl/mount-ext2/shared/team2
834 attr -r attrname2 tacl/mount-ext2/shared/team2/file1
846 getfattr -dhR -m- -e hex tacl/mount-ext2 > tacl/backup.ea
847 setfattr -h --restore=tacl/backup.ea
849 getfattr -dhR -m- -e hex tacl/mount-ext2 > tacl/backup.ea1
850 if [ `diff tacl/backup.ea1 tacl/backup.ea` ]
874 umount -d tacl/mount-ext2
875 rm -rf tacl