All of lore.kernel.org
 help / color / mirror / Atom feed
* CF Speicherkarte
@ 2003-11-14 16:01 Klaus Heintzenberg
  2003-11-14 21:40 ` Wilbert Knol
  2003-11-17  2:14 ` Rodolfo Brasnarof
  0 siblings, 2 replies; 6+ messages in thread
From: Klaus Heintzenberg @ 2003-11-14 16:01 UTC (permalink / raw)
  To: LINUXHams

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CF Speicherkarte
  2003-11-14 16:01 CF Speicherkarte Klaus Heintzenberg
@ 2003-11-14 21:40 ` Wilbert Knol
  2003-11-15  9:48   ` pa3gcu
  2003-11-17  2:14 ` Rodolfo Brasnarof
  1 sibling, 1 reply; 6+ messages in thread
From: Wilbert Knol @ 2003-11-14 21:40 UTC (permalink / raw)
  To: linux-hams



On Fri, 14 Nov 2003, Klaus Heintzenberg wrote:

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CF Speicherkarte
  2003-11-14 21:40 ` Wilbert Knol
@ 2003-11-15  9:48   ` pa3gcu
  2003-11-19  9:22     ` Wilbert Knol
  0 siblings, 1 reply; 6+ messages in thread
From: pa3gcu @ 2003-11-15  9:48 UTC (permalink / raw)
  To: Wilbert Knol, linux-hams

On Friday 14 November 2003 22:40, Wilbert Knol wrote:
> On Fri, 14 Nov 2003, Klaus Heintzenberg wrote:
> > 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;

>
> 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

-- 
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/



-
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CF Speicherkarte
  2003-11-14 16:01 CF Speicherkarte Klaus Heintzenberg
  2003-11-14 21:40 ` Wilbert Knol
@ 2003-11-17  2:14 ` Rodolfo Brasnarof
  1 sibling, 0 replies; 6+ messages in thread
From: Rodolfo Brasnarof @ 2003-11-17  2:14 UTC (permalink / raw)
  To: Klaus Heintzenberg; +Cc: linux-hams


---
On 14 Nov 2003 at 16:01, Klaus Heintzenberg wrote:

> 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?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CF Speicherkarte
  2003-11-15  9:48   ` pa3gcu
@ 2003-11-19  9:22     ` Wilbert Knol
  2003-11-19 16:44       ` pa3gcu
  0 siblings, 1 reply; 6+ messages in thread
From: Wilbert Knol @ 2003-11-19  9:22 UTC (permalink / raw)
  To: linux-hams



On Sat, 15 Nov 2003, pa3gcu wrote:

> On Friday 14 November 2003 22:40, Wilbert Knol wrote:
> > On Fri, 14 Nov 2003, Klaus Heintzenberg wrote:
> > > 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: CF Speicherkarte
  2003-11-19  9:22     ` Wilbert Knol
@ 2003-11-19 16:44       ` pa3gcu
  0 siblings, 0 replies; 6+ messages in thread
From: pa3gcu @ 2003-11-19 16:44 UTC (permalink / raw)
  To: Wilbert Knol, linux-hams

On Wednesday 19 November 2003 10:22, Wilbert Knol wrote:
> 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.

-- 
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
pa3gcu@zeelandnet.nl
http://people.zeelandnet.nl/pa3gcu/




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-11-19 16:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14 16:01 CF Speicherkarte Klaus Heintzenberg
2003-11-14 21:40 ` Wilbert Knol
2003-11-15  9:48   ` pa3gcu
2003-11-19  9:22     ` Wilbert Knol
2003-11-19 16:44       ` pa3gcu
2003-11-17  2:14 ` Rodolfo Brasnarof

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.