WinSCP permissions on Raspberry Pi

My son has set up a Raspberry Pi in the home to display images. He enabled FTP and told me to connect via WinSCP. I have done this, and I see all the folders on the Raspberry Pi. However, I cannot upload images or do anymodifications on the raspberry pi due to a permissions problem.

Any ideas what could be the cause of this?

I am logging in with his username and password, which has full rights to the Pi.

Thank you.
Lev SeltzerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jackie ManIT ManagerCommented:
It is the default behaviour and you need to make the following changes.

decided to access the SD card through RPi, and I’m using the program “WinSCP” for that. The /flash/ folder is read only by default so you need to mount it with write permission before you can upload your config.txt file. (I’m using PuTTY for that) Run these commands to do it:
a. Command: “mount -o remount,rw /flash”
b. [Then upload your config.txt file through WinSCP]
c. Command: “mount -o remount,ro /flash”
d. Command: “reboot”


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lev SeltzerAuthor Commented:
I get the error mount: mount point /flash does not exist

My son says that he installed ubuntu mate, so maybe that makes a difference.
Davy ParidaensCommented:
Hi Lev,

Install and download Putty so you have SSH access.

You then can connect with the root credentials
Putty.jpgEnter your IP adres and port 22 and click open
(never use the same root credentials as the FTP credentials)

these are examples that you can execute to add users and add the rights to the folder:
sudo adduser FTPuser
sudo chmod 777 /home/FTP/your subfolder
sudo chown FTPuser :FTPgroup /home/ftp/your subfolder


Lev SeltzerAuthor Commented:
Thank you all. I got rid of the Raspberry pi and replaced it with something else, so the question is no longer relevant.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Raspberry Pi

From novice to tech pro — start learning today.