Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I mounted the FAT32 USB drive with the command:

sudo mount -t vfat -o rw,auto,user,fmask=0022,dmask=0000,uid=debian-transmission,gid=debian-transmission /dev/sda1 /media/MEDIA

I see the folder in Mac OSX's Finder. But when I try to create a new folder, it asks me for a password, and does not accept raspberry's root user and password which is pi/raspberry respectively.

What am I doing wrong?

EDIT:

enter image description here

enter image description here

share|improve this question
add comment

1 Answer 1

I think there are a couple of problems (I am speaking in general/Linux) terms, I don't use a Mac, but -

The problem you are experiencing is you have mounted the drive as owned by user "debian-transmission". As you are not root (We know this because of the "sudo" at the beginning of your mount command), you can only edit files you own or have rights to.

The "root" user for the Raspery Pi is not relevant - all that is relevant is the UID (and GID) of the file, which is a number - root having a UID of 0 and GID of 0 (on your MAC as well as on the PI)

Solution:

  1. See if the password you need to mount the drive is the root password for your MAC. (This is a guess, again, I don't have a MAC, so I don't know what its doing in the background. The password will either be for root or for "debian-transmission" which does not exist)

or (probably better)

Have a look at the ownership of a file you created (ie the username - which would be in place of "debian-transmission") - and execute the sudo mount command but replace the "debian-transmission" with your username.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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