0

I have connected an USB drive with my Raspberry Pi following this tutorial. Everything worked fine but I'm not able to rename, delete or move/copy any files to a folder using SFTP. I'm only able to put files in it using SSH with sudo before every command.

2
  • I inserted and mounted a USB drive into my Pi. Via SSH from my laptop to the Pi I am able to rename, delete, move folders on the USB drive with help of sudo. Where does SFTP come in?
    – OyaMist
    Jun 6 '18 at 1:57
  • My first suggestion: Ask your question of Alex Ellis - the author of the tutorial you followed. If he's publishing tutorials, presumably he's knowledgeable re permissions issues, and certainly more familiar with the details of his own approach. It doesn't look right to me, but I could have overlooked something.
    – Seamus
    Jun 6 '18 at 14:12
1

I have fixed this problem with this command:

sudo chmod -R 777 /mnt/pidrive1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.