What are the correct permissions required for the /tmp and /var/tmp directories? Answer The /tmp and /var/tmp directories requires special permissions. This directory has Sticky Bit permissions. Many applications will show errors or fail if they are not able to write to /tmp with the appropriate permissions. # ls -ld /tmp drwxrwxrwt 21 root root […]
Archives for April 2017
CentOS / RHEL 7 : How to Change Timezone
timedatectl is a new feature on RHEL7. It may be used to query and change the system clock and its settings. Follow the below steps to change the timezone to IST (India). (Execute the below commands as root user). 1. List all the available timezones using the below command. You will get a long list […]
Why CentOS / RHEL 7 have many tmpfs (6 tmpfs filesystem), and what is their purpose
Question: Why CentOS 7 / RHEL 7 have many tmpfs (6 tmpfs filesystem), are these tmpfs mandatory for OS? What are the mount /run/user/1000, /run/user/0, /run/user/45, /sys/fs/cgroup for? Answer: If you run df -hP in RHEL 7 system you would find many tmpfs file systems mounted. # df -hP Filesystem Size Used Avail Use% Mounted […]