My investigation also convinces me that remount is the only reasonable approach for running J on the stick directly. In some cases it may be better to simply copy the j directory to a user directory, run from there, and copy back at the end if desired and this is quite simple. These are minor problems considering the convenience of having complete J system for several platforms that are quite easily and directly usable. It makes Bill Lam's comment about using a stick instread of a laptop very realistic for certain situations.

----- Original Message ----- From: "Raul Miller" <[EMAIL PROTECTED]>
To: "General forum" <[email protected]>
Sent: Friday, July 13, 2007 11:28 AM
Subject: Re: [Jgeneral] usb stick noexec mount in linux


On 7/13/07, Raul Miller <[EMAIL PROTECTED]> wrote:
On 7/12/07, Raul Miller <[EMAIL PROTECTED]> wrote:
> On 7/12/07, Robert Bernecky <[EMAIL PROTECTED]> wrote:
> > /etc/udev/rules.d/50-udev-default.rules
> ...
> > /etc/udev/rules.d/85-mount-fstab.rules
>
> Note that this approach will make all USB sticks executable
> (instead of only the one with J on it).

Er... unless you require the stick's UUID (or, if you've set
it, the stick's Label).

... but I'm also told that this class of approach has automounter
problems on at least some systems (though maybe this can
be resolved with more config file hacking).

And, unfortunately, automounting under linux has had several
implementations with significantly different architectures,
so documenting an approach for arbitrary sets of  linux users
would take some study.

Anyways, I think mount -o remount still stands as the simplest
approach.

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to