fuse mount, executable path on linux #235
Comments
|
No, the executable flag won't be set on this file. Not sure how to work around it to be able to call |
|
@Kubuxu - thank you. it would be interesting to see if fuse could contain executable information. i've been able to do this with s3fs in the past i believe. (it seems i have a bigger problem right now - i can't even do an |
|
@satra As a workaround, you can wrap your data with EncFS or create a file with encrypted loop device using dm-crypt and luks. Both enable you to set executable flag inside of encrypted filesystem. If you don't care about encryption, just create a file with loop device alone. |
|
@lidel - thanks for the suggestion. a key point here about mounting the ipfs directory hash is to minimize the data transferred to just the bits needed for that particular execution. wouldn't a loop device or encfs require all the bits of the file to be transferred to the host? ideally we would just have the metadata transferred so that people can do things like |
|
Supporting executable bits is definitely on our todo list. |
|
@satra until |
|
@lidel - thanks i'll look into this. my hope was for lazy execution. so initially executable is not on the system, but will be pulled by a trigger from the system path check by the fuse endpoint. |
|
This issue was moved to https://discuss.ipfs.io/t/fuse-mount-executable-path-on-linux/264 |
satra commentedMar 12, 2017
Can i mount a directory containing executables on an ipfs fuse mount?
for example do:
ps. i can't seem to get this to work inside my current environment. i'm going to check it on a remote machine to test.
The text was updated successfully, but these errors were encountered: