kihei/i-0a1bcc85d0fd2797c
by SadServersMore by SadServers
WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo pvs PV VG Fmt Attr PSize PFree /dev/sdb lvm2 --- 1.00g 1.00g /dev/sdc lvm2 --- 1.00g 1.00g admin@i-02cfdc6ce00292dbe:~$ sudo vgcreate VG /dev/sdb /dev/sdc Volume group "VG" successfully created admin@i-02cfdc6ce00292dbe:~$ vgs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-02cfdc6ce00292dbe:~$ sudo vgs VG #PV #LV #SN Attr VSize VFree VG 2 0 0 wz--n- 1.99g 1.99g admin@i-02cfdc6ce00292dbe:~$
kihei/i-02cfdc6ce00292dbe 06:35
by SadServersdrwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0e45767b31594566c:~$ chmod 777 data chmod: changing permissions of 'data': Operation not permitted admin@i-0e45767b31594566c:~$ sudo chmod 777 data admin@i-0e45767b31594566c:~$ ./kihei -v Deleting file /home/admin/data/newdatafile... panic: remove /home/admin/data/newdatafile: permission denied goroutine 1 [running]: main.main() ./main.go:50 +0x48d admin@i-0e45767b31594566c:~$ rm /home/admin/data/newdatafile rm: remove write-protected regular empty file '/home/admin/data/newdatafile'? n
kihei/i-0e45767b31594566c 09:15
by SadServers--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=676, si_uid=1000, si_s=0} --- admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0802244d9b873596f:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ admin@i-0802244d9b873596f:~$ suod