toralf Developer
Joined: 01 Feb 2004 Posts: 3942 Location: Hamburg
|
Posted: Sun Apr 07, 2013 9:39 am Post subject: directory geenrated too late ? |
|
|
The following command line Code: | T=/mnt/ramdisk/forT/victims; sudo rm -rf $T && mkdir -p $T && for i in $(seq -w 1 100); do F=$T/f$i; touch $F; chmod 777 $F; D=$T/d$i; mkdir $D; chmod 777 $D; done && ssh tfoerste@trinity "pkill -9 trinity; cd /mnt/n22/victims && trinity --children 4 --victims /mnt/n22/victims -x mremap -x mount -x add_key -x request_key -x keyctl -q"
| sometimes gives Code: | bash: line 0: cd: /mnt/n22/victims: Permission denied
| whereas the next call runs fine.
/me wonders if I a change from " done && ssh" to " done; ssh" will solve/circumvent this and if this is an expected behaviour or a bug, FWIW host kernel is vanilla 3.8.6 |
|