Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

fixing system permission issues in ubuntu

echo '
chmod -R 755 /bin /boot /dev /etc/ /home /lib /lib64 
/media /mnt /opt /run /sbin /srv /usr /var

chmod -R 777 /initrd.img /vmlinuz
chmod -R 1777 /tmp
chmod -R 555 /sys
chmod -R 555 /proc
chmod -R 700 /root

' > fixpermission

chmod +x fixpermission

./fixpermission
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #fixing #system #permission #issues #ubuntu
ADD COMMENT
Topic
Name
6+6 =