Installing apps when there's no installer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to James Sparenberg  <james at linuxrebel.org>:
> On Saturday 27 October 2007 11:09:39 Steve Greenland wrote:
> > According to Peter Flynn  <peter at silmaril.ie>:
> > > > oh and you can't execute a binary from the mmc cards by default either.
> > > >  File system mount thing.
> > >
> > > Ah. But presumably you can
> > > $ ln -s /media/disk1/texmf/bin/latex /usr/local/bin/
> > > (it certainly worked on the Zaurus).
> >
> > You can link, but if the card is mounted with the noexec option, it
> > doesn't matter. The good news is that a simple
> >
> > 	mount -o remount,exec /media/mmc1
> >
> > (as root) should fix it. Automating that I leave as an excercise for the
> > reader (translateion: I don't know).
> >
> > Steve
> 
> edit fstab and remove the word noexec.  

Ummm, maybe not.

My fstab has this entry:

/dev/mmcblk0p1  /media/mmc1 vfat rw,noauto,nodev,noexec,nosuid,utf8,uid=29999 0 0

But no entry for mmc2. OTOH, my /proc/mounts (which should show the actual
mounted "disks") has:

/dev/mmcblk0p1 /media/mmc2 vfat rw,nosuid,nodev,noexec,uid=29999,fmask=0022,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0

/dev/mmcblk1p1 /media/mmc1 vfat rw,nosuid,nodev,noexec,uid=29999,fmask=0022,dmask=0000,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8 0 0

Note that the device names are switched compared to fstab. For devices
that are automounted via udev (which is what I assume is happening with
the memory cards), I'm not sure that fstab has any influence. I'd guess
that the way to control this involves one of the udev config files, but
poking around in /etc/udev didn't lead to any obvious candidates.

Steve, not a udev expert.




-- 
Steve Greenland
    The irony is that Bill Gates claims to be making a stable operating
    system and Linus Torvalds claims to be trying to take over the
    world.       -- seen on the net



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux