Posts

Showing posts with the label remove

Solved bin rm cannot remove run user root gvfs Is a directory When exit from root superuser

Image
Solved bin rm cannot remove run user root gvfs Is a directory When exit from root superuser This problem occurs when we have entered in the root or superuser , then when trying to exit , show this information " /bin/rm: cannot remove /run/user/root/gvfs: Is a directory " like image below: So, how can fix this? Open your Terminal by press Ctrl+Alt+T Then type this following command: sudo umount /run/user/root/gvfs So, after you exit from superuser, you will not see this information again. download file now

Start stop and remove AppArmor in Ubuntu

Start stop and remove AppArmor in Ubuntu AppArmor is a security extension (similar to SELinux) that should provide extended security, which usually causes more problems than advantages. AppArmor was first made available to Ubuntu in Ubuntu 7.04 in Universe. AppArmor is usually installed and loaded by default. Stop AppArmor: sudo /etc/init.d/apparmor stop Start AppArmor: sudo /etc/init.d/apparmor start Reloading AppArmor profiles: sudo /etc/init.d/apparmor reload Remove from services (it doesnt load anymore at system start-up). First you need to stop it as shown above: sudo update-rc.d -f apparmor remove Install the AppArmor service: sudo update-rc.d apparmor defaults To see the status of service: sudo apparmor_status After reboot i have noticed that apparmor is still running even after being removed from system start-up. So, i have uninstalled it: sudo apt-get remove apparmor Resources: Ubuntu.com download  file  now