Hal Vaughan put forth on 4/22/2011 12:03 PM:
> I now know I can use smbclient to read files on an SMB share without having 
> to mount it, but I need to do more than that.
> 
> I want to be able to access either Java classes or an executable on a shared 
> volume on a server without having to mount the volume on the local system. 
> (There are a couple reasons for not wanting to mount.)  I know on Windows I 
> can list the files on an SMB share on another system and access them using 
> SMB/CIFS by just specifying the volume properly on the command line.  I want 
> to do something like that on Linux, but do more than just listing the files 
> or copying them to the local computer.
> 
> I need a way, on Linux, to access files on a network share, which could be 
> SMB or NFS (or something else) without mounting the volume.  For example, if 
> I'm on System A and I have an executable on System B, and it's on a network 
> share on System B, is there any way to run that executable without mounting 
> that share as a volume on System A?

If you know the exact path to the file you can use scp to copy it
locally and then execute the local copy.  If you don't need to keep the
binary, simply delete the local copy after use.  Why is this?

The remote filesystem contains execute permission for each file.
Mounting the filesystem requires authentication.  That authentication is
required to determine execute permission.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4db1c11d.6070...@hardwarefreak.com

Reply via email to