Understandign CHMOD- the basics Rumi, September 22, 2016 There are four OCTAL (0..7) digits, which control the file permissions. But often, only three are used. If you use 600 it equals 0600. The missing digit is appended at the beginning of the number. Each of three digits described permissions. Position in the number defines to which group permissions do apply! Permissions: 1 – can execute 2 – can write 4 – can read The octal number is the sum of those free permissions, i.e. 3 (1+2) – can execute and write 6 (2+4) – can write and read Position of the digit in value: 1 – what owner can 2 – what users in the file group(class) can 3 – what users not in the file group(class) can Examples: chmod 600 file – owner can read and write chmod 700 file – owner can read, write and execute chmod 666 file – all can read and write chmod 777 file – all can read, write and execute Related Administrations CHMOD
Delete/Purging mysql-bin (binlog) files safely January 7, 2021 The file mysql-bin.index keeps a list of all binary logs mysqld has generated and auto-rotated. The mechanisms for cleaning out the binlogs in conjunction with mysql-bin.index are: PURGE BINARY LOGS TO ‘binlogname’; PURGE BINARY LOGS BEFORE ‘datetimestamp’; These will clear all binary logs before the binlog or timestamp you just… Read More
Proxmox create VXLAN using its native SDN January 12, 2024 Prerequisite: You need to have an Installed Proxmox and Configure a Clustered setup. The first step in any installation is to make sure your hosts are updated. By default, Proxmox hosts will reach out to the enterprise repository, so I need to configure the pve-no-subscription repository. To enable that, I… Read More
Reset lost root password on Ubuntu 18.04/20.x May 15, 2021 Boot Into GRUB menu The first step is to reboot into the GRUB menu. If Ubuntu 18.04 Bionic Beaver is the only operating system installed you need to keep pressing SHIFT for the GRUB menu to show up. Related Read More