I do not know what happens...but in my laptop, all folders and files have user www-data instead of root.
in directory /desktop /music ....alll directories ..
how can I change user root?
I use command
chown -R www-data:root /
chown -R root:www-data /
any ideas?? I tried a lot but I am not able to change the user for files and directories.
even I tried lots of commands but I do not know how can I change user as root
write in command prompt :
sudo gedit /etc/apache2/envvars
change :
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
to :
#export APACHE_RUN_USER=www-data
export APACHE_RUN_USER=root
#export APACHE_RUN_GROUP=www-data
export APACHE_RUN_GROUP=root
hope so it will work for you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With