HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
Change Owner Your New Disk
The Default Owner is “ROOT”
- Check Your New Disk (e.g., “cbkadal”)
- You are not cbkadal! Replace cbkadal with your GitHub Account.
- Make sure there is a “lost+found” directory inside “/cbkadal/”.
ls -al /cbkadal/
(RESULT)
root:~# ls -al /cbkadal/
total 17
drwxr-xr-x 3 root root 1024 Sep 19 01:44 .
drwxr-xr-x 19 root root 4096 Sep 19 01:53 ..
drwx------ 2 root root 12288 Sep 19 01:44 lost+found
root:~#
Change Owner
- E.g, “cbkadal”
- You are not cbkadal! Replace cbkadal with your GitHub Account.
chown -Rv cbkadal:cbkadal /cbkadal/
ls -al /cbkadal/
(RESULT)
root:~# chown -R root:root /cbkadal/
root:~# chown -Rv cbkadal:cbkadal /cbkadal/
changed ownership of '/cbkadal/lost+found' from root:root to cbkadal:cbkadal
changed ownership of '/cbkadal/' from root:root to cbkadal:cbkadal
root:~# ls -al /cbkadal/
total 17
drwxr-xr-x 3 cbkadal cbkadal 1024 Sep 19 01:44 .
drwxr-xr-x 19 root root 4096 Sep 19 01:53 ..
drwx------ 2 cbkadal cbkadal 12288 Sep 19 01:44 lost+found
root:~#