both permission denied and operation not permitted

frenchthomas

New Member
Joined
Jun 13, 2022
Messages
3
Reaction score
0
Credits
25
I wanted to change /opt/bootlocal.sh to load a keyboard layout but it says permission denied
So I wrote in the console
chmod 777 /opt/
And it says Operation not permitted
I'm using Corelinuxplus
I'm pretty new sorry if it is a stupid question
 


I'm not familiar with core linux plus so can't speak for them. But usually to do what you want you have to have root privileges.
And must some how do that first. before changing permissions or any file in the /opt directory.
How you do that depends upon the distro your using in the Deb. /ubuntu based distro it's usually done with the sudo command.
In others it's done with the su command in some distros you need to checkin as root. So you will have to determine how it works in Core.
 
Last edited:
Executing the line with the sudo command somehow didn't work, so I installed nano, ran it with administrator rights, and modified the file like that.
 

Members online


Top