command-line-murders/i-029418f9264a27d89
by SadServersMore by SadServers
write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0133da7c108576538:~$ cd /home/admin/data/newdatafile bash: cd: /home/admin/data/newdatafile: No such file or directory admin@i-0133da7c108576538:~$ mkdir
kihei/i-0133da7c108576538 00:32
by SadServersPhysical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-07f4849a9d187ab57:~$ sudo vgcreate data_volume_group /dev/nvme1n1 /dev/ne2n1 Volume group "data_volume_group" successfully created admin@i-07f4849a9d187ab57:~$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:2 0 7.9G 0 part / ├─nvme0n1p14 259:3 0 3M 0 part └─nvme0n1p15 259:4 0 124M 0 part /boot/efi nvme2n1 259:5 0 1G 0 disk admin@i-07f4849a9d187ab57:~$ sudo lvcreate -l 100%FREE -n data_logical_group datv
kihei/i-07f4849a9d187ab57 02:32
by SadServers-rw-r--r-- 1 root root 5.0G Sep 17 2023 datafile -rw-r--r-- 1 admin admin 0 Jan 13 17:20 filename -rwxr-xr-x 1 admin root 2.2M Sep 17 2023 kihei admin@i-0047ee52a79ccc54f:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0047ee52a79ccc54f:~$ rm filename admin@i-0047ee52a79ccc54f:~$ > datafile bash: datafile: Permission denied admin@i-0047ee52a79ccc54f:~$ cp /dev/null datafile cp: cannot create regular file 'datafile': Permission denied admin@i-0047ee52a79ccc54f:~$
kihei/i-0047ee52a79ccc54f 02:07
by SadServersdrwxr-xr-x 18 root root 4096 Dec 29 19:37 .. drwxr-xr-x 2 root root 24576 Sep 24 23:20 bin drwxr-xr-x 2 root root 4096 Apr 10 2021 games drwxr-xr-x 35 root root 4096 Sep 24 23:19 include drwxr-xr-x 54 root root 4096 Sep 24 23:20 lib drwxr-xr-x 2 root root 4096 Sep 28 2021 lib32 drwxr-xr-x 2 root root 4096 Sep 20 15:53 lib64 drwxr-xr-x 4 root root 4096 Sep 28 2021 libexec drwxr-xr-x 2 root root 4096 Sep 28 2021 libx32 drwxr-xr-x 10 root root 4096 Sep 20 15:53 local drwxr-xr-x 2 root root 12288 Sep 24 23:19 sbin drwxr-xr-x 91 root root 4096 Sep 24 23:19 share drwxr-xr-x 2 root root 4096 Apr 10 2021 src admin@i-0ef21dcd15d0bb4ad:/usr$ cd .. admin@i-0ef21dcd15d0bb4ad:/$ ls -la /mnt/