Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


How can I get root acces?
#1
Hi!

I'm trying to copy .jpg files (radio logos) to root fs/var/www/images/radio-logos.
Running Ubuntu on WMware-player (Windows 10), but I get a message "permission denied".

Read somewhere on the forum that I need "root access", how can I get this?

I'm not good at Linux, so please advise so even a newbie can understand.

Thank's in advance

Thomas
Reply
#2
By the way, I have the sd-card connected in a USB-reader.
I can reach the sd-card via the Ubuntu filemanager.
But as I mentioned, when I copy files I get "permission denied"

Maybe it's not possible to get access and copy with Ubuntu?
Reply
#3
OK, I try another way.
Installed Putty on Windows
Connected to pi@192.168.1.88, password moodeaudio and I got in.

What now?

I got the jpg-files on my PC and want to copy 10 different jpg-files to var/www/images/radio-logos

Can anyone help me with the commands?

Something like sudo cp, and then what?

Regard
Thomas
Reply
#4
I have been playing with putty and can see that I can not change directory to reach the var/www-folder.
That propably has to do with root access?

Please help with my newbie-struggle to copy files from PC to Moode.

I realy would like to have my added radiostations to show their thumbnails.

My files are on my Windows PC C://jpg/  (several .jpg files)
I would like to copy all of them to var/www/images/radio-logos/
Reply
#5
Try copying them to /home/pi/ which is r/w and then from ssh do like

“sudo cp *.jpg /var/www/images/radio-logos/”

Minus the quotes of course.
Reply
#6
Ok, copy step by step.
I will try that - thanks!
Reply
#7
Success!

Thank's a lot Swizzle!
Reply


Forum Jump: