Posts: 18
Joined: Thu Jul 05, 2012 5:54 am

Permissions Problem

Mon Jan 11, 2016 11:12 pm

Hi Guys

This is my first post on here, so please go easy on me! Oh and I'm relatively new with Linux based operating systems.

So, I've been using my raspberry Pi 2 for about 2 weeks now and I absolutely love it, but I have one little problem! Well it's quite a big problem for me!

I set my raspberry Pi up with Jessie lite (headless, SSH) and mounted my external hard drive, which is NTFS format. I mounted the drive to /media but thought it was strange that I had to sudo to mkdir {mount point} any way when I mounted my hard drive root was the owner of all my files and not Pi. My question is how do I mount my drive with Pi been the owner of my files and folders? I really want to be able to use the Pi headless and administer it through SSH. I have a temporary fix at the minute but it means I have to run Jessie with the desktop gui, which mounts my drives to /media/pi automatically, which is not ideal!

Hopefully this makes sense and you guys can help me.

Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Permissions Problem

Fri Feb 19, 2016 2:05 am

'man mount'
look for gmask etc.
SBC with 32GB RAM:



Return to “Troubleshooting”