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.

  • 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
    Commented Jun 6, 2018 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
    Commented Jun 6, 2018 at 14:12

1 Answer 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 and acknowledge you have read our privacy policy.

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