kihei/i-0113674bd4f4e4b50
by SadServersMore by SadServers
/dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-0a86b1018e815bbc6:~$ ls -l total 5245048 drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Nov 13 19:35 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-0a86b1018e815bbc6:~$ cd data admin@i-0a86b1018e815bbc6:~/data$ ls -l total 0 admin@i-0a86b1018e815bbc6:~/data$ cd .. admin@i-0a86b1018e815bbc6:~$ du -sh da
kihei/i-0a86b1018e815bbc6 02:22
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[ --nolocking ] [ --lockopt String ] [ --longhelp ] [ --profile String ] [ --version ] Use --longhelp to show all options and advanced commands. admin@i-08daf2b9e822f17d1:~$ sudo pvcreate No command with matching syntax recognised. Run 'pvcreate --help' for more in Correct command syntax is: pvcreate PV ... admin@i-08daf2b9e822f17d1:~$ lvm WARNING: Running as a non-root user. Functionality may be unavailable. lvm>