Closed Qarj closed 6 years ago
snap won't work like that when running it with sudo command to get full access to system but still this snap has strict confinement so it won't be able to access data from root partition.
though you can try mount bind working dir on root
to home
sudo mount -obind /path/to/apache/config/files /home/username/xyz
edit files from /home/username/xyz
I don't have any plans for changing this snap as classic confinement ATM which would have full access to the system files if this snap was classic.
I'm running Ubuntu 18.04 and installed Notepad-Plus-Plus using Ubuntu Software since it is one of the featured apps in Editor's Picks.
I need to edit some Apache configuration files, so I need to start it with root privileges - but am getting an error when I do this:
I tried running these 4 commands to see if they would help, but it didn't:
I also tried lxqt-sudo:
Ultimately I'd like to create a desktop shortcut to start it as root:
sudo_npp.desktop
I can start it ok without using sudo: