Thread (6 messages) 6 messages, 4 authors, 2003-11-19

Re: CF Speicherkarte

From: Wilbert Knol <hidden>
Date: 2003-11-19 09:22:52


On Sat, 15 Nov 2003, pa3gcu wrote:
On Friday 14 November 2003 22:40, Wilbert Knol wrote:
quoted
On Fri, 14 Nov 2003, Klaus Heintzenberg wrote:
quoted
Als User kann ich zwar Daten von der Karte lesen, kann aber nicht darauf
schreiben (löschen)

Als root jedoch lassen sich die Karten lesen und schreiben.
I have exactly that problem with a USB memory stick (aka 'removable
drive'). Any pointers appreciated.
Permissisons for devices need to be changed accordingly i belive;

The raw device file looks like this:

zl2bsj@zl2bsj:~> ls -l  /dev | grep sda1
brwxrwxrwx    1 root     disk       8,   1 2002-09-10 08:24 sda1

The mount point:
zl2bsj@zl2bsj:~> ls -l /media | grep sda1
drwxrwxrwx    2 root     root          160 2003-11-19 20:59 sda1

The /etc/fstab entry doesn't exist. It is created by the USB hotplug
agent. When it loads, the USB hot-plug agent alters the permissions
on the mount point such that only root has write access to the device.

I have by-passed /etc/fstab by spelling out the 'mount' command (with the
'user' option)  and it made no difference: I *must* be root to be able to
write to the USB removable drive :-(

Anyway, I probably shouldn't bore the Reflector users with this, as
it is not a ham issue, but it is something that has bugged me for a
long time. Reading Klaus's query prompted me.



Wilbert, ZL2BSJ



-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help