0
I ask for help to solve the following problem.
was using the XAMPP to run PHP applications, and I had to edit the file php.ini which gets into /opt/lampp/etc/
OBS: dentro da pasta opt/ tem outras 2 pastas google/ e lampp/
when saving the file php.ini error appeared permission, so I opened Terminal logging me as ROOT
# sudo su
I went to the root folder and entered the following command:
# chown -R meu_usuario /opt
( then I knew it would have been better chown -R meu_usuario /opt/lampp/etc/php.ini, but the poop was already made )
after that I managed to save the php.ini, however... after restarting the machine. the browser Google Chrome and the database MYSQL of XAMPP no longer work :'(
I’m back to the opt/ folder permission for root
# chown -R root /opt
but still, neither Chrome nor MYSQL database works.
My system
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
I thank you in advance for the strength
thanks for your attention, as I check the default folder permission opt/ ?
– guinho
use the command
ls -al /
it will list all the folders in the directory/
then just watch– George Moura
Dude help me, I gave the command
sudo chmod -R 644 /opt
and now I can’t get into the folder opt/ my work is inside the folder opt/lampp/ I can’t lose!– guinho
do so loga como sudo
sudo su
at the terminal and then typenautilus
, it will open like the windows explorer, then you get your jobs does a backup of your pen-drive or other place you want– George Moura
add me to Hangout [email protected]
– George Moura
Okay, I’ll create an account there and I’ll add you, vlw
– guinho