Skip to content
Advertisement

Permission issue in linux

I have changed permission of /run/user to 777. But when the machine got reboot permission changed to 754.

How we can make permission of /run/user to 777 permanently?

Advertisement

Answer

This isn’t permanent, but it’s going to look like it is. You can put the command

sudo chmod 777 /run/user

in your rc.local file, found in /etc/rc.local .

This will run your command on boot and change the permissions.

Note: if you want to change the permissions of everything inside the user folder use -R option to do it recursively, as:

sudo chmod -R 777 /run/user
Advertisement