We would like to set up a customer account on our overo running embedded Angstrom along with ssh so they can log on to retrieve data.
uname -a
Linux pb014-01 2.6.32 #1 Wed Feb 29 15:17:02 GMT 2012 armv7l GNU/Linux
(where pb014-01 should probably read Overo) this is the only version we have all our drivers compiled for.
The customer data is located on fat32 formatted external usb or sd mass storage devices, (micro sd(mmcblk0p1) + usb sd(sd[a-z][0-1])).
The devices/volumes are mounted by udev automatically so the device/folder names are unknown at device setup.
Currently the permissions of the folder in /media are
drwxr-xr-x 5 root root 0 Aug 6 16:44 sdb1
I think I need at least drwxr-xrwx
I have added a custom rule to send a udp command to our software to notify of disk adds + removes, so we stop writing immediately to a folder in /media if the disk is removed.
As a hack I suppose, on udev adds, I could make it chmod -R the permissions we need but hope there is a neater way to get udev to mount it with the correct permission in the first place.
I have tried adding fmask umash dmask uid optons to automount() in /etc/udev/scripts/mount.sh to no avail (maybe I formatted them wrong if this should be the solution)
A lot of the answered questions are concerning restricting permissions rather than "adding" permissions which I am trying to achieve.
While trying to google for answers I see a lot of people mentioning gvfs and nautilus so I wonder if there is another disk mounting program that I am unaware of that is doing the actual work
If not I hope someone
Many Thanks G
udisks
? Would it do what you want it to?