Hi everyone!
I want to assign permissions to folders and files using SSH. I use Putty.
I go to the installation folder: [color=#440000]cd my-suitecrm[/color].
I run the command: [color=#440000]sudo chown -R www-data:www-data[/color]
The console tells me:[color=#440000] effective uid is not 0, is sudo installed setuid root?[/color]
Does this mean that my Apache user does not have permission to use sudo?
I run the command: [color=#440000]ls -l /etc/sudoers[/color]
The console tells me: [color=#440000]-r–r----- 1 root root 4002 Mar 1 2012 /etc/sudoers[/color]
I tried to change the permissions on sudo: [color=#440000]chmod 777 /etc/sudoers[/color]
The console tells me: [color=#440000]chmod: changing permissions of `/etc/sudoers’: Operation not permitted[/color]
I tried to change the permissions on sudo using Nano: [color=#440000]nano /etc/sudoers[/color]
Nano tells me: [color=#440000]Error reading /etc/sudoers: Permission denied.[/color]
What do I do to fix this? :S