Unable to add or delete file

I wanted to create modules but don’t have a privilege to do so. I use WinSCP to access the RACHEL web server with this username and password( pi and rachel). But when I tried to add modules or make changes, received this error message.

Is there any configuration I need to do or any username and password that have such privilege to make changes?


You will have to transfer to /var/tmp and then move the folder over ssh with putty due to permissions on /var/www/modules. The copy command would be “sudo cp -R modulename /var/www/modules/”. You will also probably have to set the ownership on that folder afterwards with “sudo chown -R www-data:www-data /var/www/modules/modulename”.


1 Like