sudo apt install smartmontools
sudo fdisk -l
sudo smartctl --all /dev/sda
sudo smartctl --all /dev/sda1
sudo smartctl --all /dev/nvme0n1
sudo apt install smartmontools
sudo fdisk -l
sudo smartctl --all /dev/sda
sudo smartctl --all /dev/sda1
sudo smartctl --all /dev/nvme0n1
React Developer Tools extension for Chrome Browser
sudo apt install cifs-utils - in case you need this fucntionality.
dpkg --get-selections | grep -v deinstall | grep samba
./configure
make -j6 depending on CPU cores
sudo make install
Distutils not installed? Broken python installation? Get python-config now!
./configure --disable-python --without-ad-dc
perl module Parse::Yapp::Driver 1.05
sudo apt install libparse-yapp-perl
Jansson JSON support not found.
sudo apt install jansson-dev
sudo apt install libarchive-dev
ACL support not found.
sudo apt install libacl1-dev
LDAP support not found. Try installing libldap2-dev or openldap-devel.
sudo apt install libldap2-dev
PAM support is enabled but prerequisite libraries or headers not found.
sudo apt install libpam0g-dev
sudo apt-mark hold samba
sudo apt-mark unhold $(apt-mark showhold)
https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
https://wiki.samba.org/index.php/Build_Samba_from_Source
sudo nano /etc/samba/smb.conf
user@PC:~$ sudo su
[sudo] password for user:
root@PC:/home/user#
| Permission | Command Examples | Description |
|---|---|---|
| rwx rwx rwx | chmod 777 filename chmod -R 777 dir |
Anybody can read, write, execute. |
| rwx rwx r-x | chmod 775 filename chmod -R 775 dir |
Owner & Group can read, write, execute. Everyone else can read, execute. |
| rwx rwx r– | chmod 774 filename chmod -R 774 dir |
Owner & Group can read, write, execute. Everyone else can read. |
| rwx r-x r-x | chmod 755 filename chmod -R 755 dir |
Owner can read, write, execute. Everyone else can read, execute. |
| rwx — — | chmod 700 filename chmod -R 700 dir |
Owner can read, write, execute. No one else has any rights. |
| rw- rw- rw- | chmod 666 filename chmod -R 666 dir |
Everyone can read, write. |
| rw- rw- r– | chmod 664 filename chmod -R 664 dir |
Owner & Group can read, write. Everyone else can read. |
| rw- r– r– | chmod 644 filename chmod -R 644 dir |
Owner can read, write. Everyone else can read. |
root@PC:/home/user# exit
exit
user@PC:~$
Running chmod -R 777 / as root will break your system.
https://www.linode.com/docs/guides/modify-file-permissions-with-chmod/
sudo find / /boot -xdev ! -type s -printf 'chmod %m %p\n' -printf 'chown %u:%g %p\n'
Complete list of default GNU/Linux file permissions as found in Ubuntu Server 16.10 Yakkety Yak with all roles => https://www.vidarholen.net/contents/junk/ubuntu_permissions.html
How to restore root directory permission to default? https://askubuntu.com/questions/958141/fix-permissions-of-server-after-accidental-chmod
sudo adduser user group
sudo deluser user group
groupadd [OPTIONS] GROUPNAME
groupdel [OPTIONS] GROUPNAME
Dolphin: Ctrl+ Shift + , => Navigation => Open archives as folder.
Krusader: Ctrl+ Shift + , => Archives => Open Archives As Folders.
Krusader: No permission to zip into certain folder.
sudo apt reinstall zip unzip
Failed to pack /media/user/sda1/archive.zip. ied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied zip warning: Permission denied
dpkg --get-selections | grep -v deinstall | grep zip
bzip2 install
bzip2-doc install
gzip install
libminizip1:amd64 install
libzip4:amd64 install
p7zip install
p7zip-full install
p7zip-rar install
python3-zipp install
unzip install
zip install
Discover > Dolphin - Dolphin Plugins to get Mount ISO in right click menu.
Bug with ISO mount - some ISOs appear under Devices after Dolphin restart.
Kubuntu 20.04 solution that may not work:
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_krarc.so
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kio_iso.so
sudo cp kio_iso.so kio_krarc.so /usr/lib/x86_64-linux-gnu/qt5/plugins
Ctrl + Alt + T
sudo pico /etc/fstab
sudo blkid
Boot from Kubuntu Live USB flash drive.
Choose "Try Kubuntu".
*I deleted Swap partition with KDE Partition Manager just in case.
Ctrl + Alt + T