Tuesday, November 26, 2019

Raspbian upgrade process and notes


Upgrade Raspbian releases
https://www.raspberrypi.org/documentation/raspbian/updating.md


sudo apt update
sudo apt full-upgrade 


Check Raspberry pi release
https://www.meccanismocomplesso.org/en/how-to-for-raspberry-checking-the-raspbian-version-update-upgrade/

cat /etc/os-release

make sure lsb_release is installed

sudo apt-get -y install lsb_release
lsb_release -a

--30--

Sunday, November 3, 2019

Find directories of certain (744) permissions and change them to 755




For some reason some directories are set to 744 permission from when saved from some systems. 

They need to be 755 for the system to properly back them up.

This will change the permissions with a chmod after showing them.
find . -type d -perm 744 -print -exec ls -ld {} \;

find . -type d -perm 744 -exec chmod 755 {} \;

Nice page of examples of chmod is here

https://www.tecmint.com/35-practical-examples-of-linux-find-command/

--30--