Skip to contentSkip to conversation

CF Speicherkarte

DISCUSSION Klaus Heintzenberg 4 participants 6 messages Nov 14, 2003 – Nov 19, 2003

lore
Share & tools
lore
#0 lore raw

Ich habe es geschafft, mir den vollen Zugriff auf die CompactFlash-Karte zu verbauen.

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.

Linux:/etc # ls /dev/sda1 -l

brwxrwxrw- 1 root disk 8, 1 2003-09-23 17:59 /dev/sda1

Was muss ich tun, um das zu reparieren?

73, Klaus

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 4 lines · Klaus Heintzenberg

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.

Wilbert, ZL2BSJ

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 8 lines · Wilbert Knol
Quoted 4 lines · Klaus Heintzenberg

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;

Quoted 9 lines

Wilbert, ZL2BSJ

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 14 lines
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/



-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
In reply to Klaus Heintzenberg

---

Quoted 10 lines · Klaus Heintzenberg

Ich habe es geschafft, mir den vollen Zugriff auf die CompactFlash-Karte zu verbauen.

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.

Quoted 8 lines

Linux:/etc # ls /dev/sda1 -l

brwxrwxrw- 1 root disk 8, 1 2003-09-23 17:59
/dev/sda1

Was muss ich tun, um das zu reparieren?

Klaus, unfortunately some of us don't understand too much of German, and then we can't give any help. I't already a great effort for me to read and try to write in english, But I think it's the most international language nowadays. German is too difficult to me. Sorry.

I'm sorry if you don't speak english. But try to do your best.

Best wishes.

-
To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to pa3gcu
Quoted 11 lines · On Sat, 15 Nov 2003, pa3gcu wrote:
Quoted 8 lines · Wilbert Knol
Quoted 4 lines · Klaus Heintzenberg

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 3 lines · Wilbert Knol

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 did not know that, but i dont have devfs, i define my own fstab entry and i can write to my usb device as user because i have changed permissions.

Signature · 7 lines
If the Linux community is a bunch of theives because they
try to imitate windows programs, then the Windows community
is built on organized crime.

Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/