Re: [SLUG] Permission denied to CF card.

From: Chuck Hast (wchast@gmail.com)
Date: Fri Aug 11 2006 - 14:17:17 EDT


On 8/11/06, Eben King <eben01@verizon.net> wrote:
> On Fri, 11 Aug 2006, Chuck Hast wrote:
>
> > On 8/10/06, Ron Youvan <ka4inm@tampabay.rr.com> wrote:
> >> mtab and "mount in a console" should be what shows that which is
> >> currently mounted.
> >> file system devices can be mounted and not be in fstab.
> >>
> > I looked at the mtab, but "mount in a console" I am not sure how to display
> > it, I tried several mount options and get nothing. If I do
> > mount /dev/sda1
> > it comes back saying it is mounted in /media/usbdisk.
>
> Remember that device/mount point pair.
>
> >> And when you manually try to mount it what happens?
> >
> > It mounts and I can see it, but I can only copy in or out of it as root,
> > so I have a permissions issue there too.
>
> Yes. And vfat has no native permissions; they're assigned for the whole
> drive when you mount it. And...
>
> > Here is the whole thing after the CF is plugged in and I do a mount /dev/sda1
> > RF-mobile:/etc # mount /dev/sda1
>
> The fact that you can do this without an error means sda1 has an entry in
> /etc/fstab.
>
> > RF-mobile:/etc # mount
> ...
> > /dev/hda1 /windows/C ntfs ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8 0 0
> > /dev/hda2 /windows/D vfat rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true 0 0
> > /dev/sda1 /media/usbdisk vfat rw 0 0
>
> Note the difference between sda1 and hda2. Does hda2 work? If so, you need

Yes hda2 is like... Well guess I better not go there, it allows anything in...

> to edit /etc/fstab and copy the options from it to sda1.
>
That is the first thing I thought about doing, but I see that the data goes away
when the device is removed.

> Additional sofware may get in the way of this.

I am trying to figure out what it is that stuffs that info in the
fstab and mtab files
and where it gets it. They are transitory in nature as far as I can
see, when the
CF card is removed they go away.

-- 
Chuck Hast  -- KP4DJT --
To paraphrase my flight instructor;
"the only dumb question is the one you DID NOT ask resulting in my going
out and having to identify your bits and pieces in the midst of torn
and twisted metal."
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:58:31 EDT