===== INDEX =====
* http://rzr.online.fr/q/fuse# just installed #FusE's #EncFs on #MeeGo/#HarmattaN from testing shared repo please comfirm ok for #n9 !n950club
* http://rzr.online.fr/q/fuse# https://github.com/jcline/fuse-google-drive# now let's add a #encfs crypto over it #fuse ; does this worth to test mobile ? #gdrive @cybette
===== MEEGO =====
* http://harmattan-dev.nokia.com/pool/harmattan/free/f/fuse/fuse_2.8.5maemo5+0m6.dsc
* http://molly.corsac.net/~corsac/n9/sources-pr1.3/fuse_2.8.6maemo5+0m7.dsc
* http://molly.corsac.net/~corsac/n9/sources-pr1.2/fuse_2.8.6maemo5+0m7.dsc
* http://molly.corsac.net/~corsac/n9/sources-pr1.1/fuse_2.8.5maemo5+0m6.dsc
* http://skeiron.org/repo/downloads.maemo.nokia.com/harmattan/rm680/libfuse2_2.8.5maemo5%2b0m6_armel.deb
* http://packages.qa.debian.org/f/fuse.html
* https://launchpad.net/ubuntu/+source/fuse
Make sure fuse is not upgraded :
cat /etc/apt/sources.list.d/*home-rzr*
deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./
apt-get install sshfs encfs
RM680-02-6_PR_RM680:~# dpkg-query --list fuse-utils fuse encfs sshfs
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================================-==========================================-====================================================================================================
ii encfs 1.7.4-2.4 encrypted virtual filesystem
un fuse (no description available)
ii fuse-utils 2.8.6maemo5+0m7 Filesystem in USErspace (utilities)
ii sshfs 2.2-1 filesystem client based on SSH File Transfer Protocol
FeedBack at :
* http://talk.maemo.org/showthread.php?p=1322728#post1322728
==== FUSE ====
* http://packages.qa.debian.org/f/fuse.html
* http://fuse.sourceforge.net/
* http://daniel-baumann.ch/files/debian/packages/fuse/2.8.5-5/
wget https://openrepos.net/sites/default/files/packages/71/fuse_0.0.0rzr1_all_0.deb
/home/user/local # dmesg | grep fuse
[ 0.105834] fuse init (API version 7.13)
chgrp adm /etc/fuse.conf
chgrp adm /dev/fuse
chgrp adm /usr/bin/fusermount /sbin/mount.fuse /etc/fuse.conf
chmod g+s /usr/bin/fusermount /sbin/mount.fuse
ls -l /dev/fuse /usr/bin/fusermount /sbin/mount.fuse /etc/fuse.conf
# crw-rw---- 1 root adm 10, 229 Jan 1 1970 /dev/fuse
# -rw-r----- 1 root adm 215 Nov 17 00:24 /etc/fuse.conf
# -rwxr-xr-x 1 root adm 6632 Apr 8 2011 /sbin/mount.fuse
# -rwxr-xr-x 1 root adm 23992 Apr 8 2011 /usr/bin/fusermount
ToDo :
dh_gencontrol -s
Can't locate object method "binmode" via package "FileHandle" at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 254.
dh_gencontrol: dpkg-gencontrol -pfuse-utils -ldebian/changelog -Tdebian/fuse-utils.substvars -Pdebian/fuse-utils returned exit code 25
==== ENCFS ====
cat</etc/apt/sources.list.d/home-rzr-harmattan.list
deb http://rzr.online.fr/r/http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./
deb http://rzr.online.fr/r/http://repo.pub.meego.com/home:/rzr:/harmattan/harmattan/ ./
EOF
apt-get install encfs
apt-get install libboost-system1.42.0 libboost-filesystem1.42.0 libboost-serialization1.42.0 librlog5 fuse
dpkg -i encfs_1.7.4-2.4_armel.deb
uid=29999
gid=29999
HOME=/home/user
s="${HOME}/MyDocs/local/private/"
s="${HOME}/local/private/"
d="${HOME}/mnt/encfs"
devel-su -c "umount $d"
mkdir -p "$s" "$d"
devel-su -c "encfs -o uid=$uid -o gid=$gid -o allow_other \"$s\" \"$d\" "
mkdir -p ~/mnt/encfs/private
# ...
It will work if using open kernel else error will be reported:
fuse: failed to open /dev/fuse: Permission denied
fuse failed. Common problems:
- fuse kernel module not installed (modprobe fuse)
- invalid options -- see usage message
Fail :
cat /proc/version
Linux version 2.6.32.54-dfl61-20121301 (harmattanpr13@openmode) (gcc version 4.4.1 ('cs2009q3-hard-67-sb16') ) #1 PREEMPT Wed Jul 4 23:01:55 EEST 2012
FeedBack :
* http://talk.maemo.org/showthread.php?p=1241911&highlight=encfs#post1241911
* http://talk.maemo.org/showthread.php?t=86376&highlight=encfs&page=2
ToDo : EquiVs
* http://askubuntu.com/questions/29918/how-to-trick-apt-dependencies
=== TODO ===
EncFS Password:
fusermount: mount failed: Operation not permitted
fuse failed. Common problems:
- fuse kernel module not installed (modprobe fuse)
- invalid options -- see usage message
uname -a
Linux RM680 2.6.32.54-dfl61-20121301 #1 PREEMPT Sat Mar 2 23:11:21 EET 2013 armv7l GNU/Linux
=== BUILD ===
apt-get install libboost-date-time1.42-dev libboost-filesystem1.42-dev libboost-graph1.42-dev libboost-iostreams1.42-dev libboost-math1.42-dev libboost-program-options1.42-dev libboost-regex1.42-dev libboost-serialization1.42-dev libboost-signals1.42-dev libboost-system1.42-dev libboost-test1.42-dev libboost-thread1.42-dev libboost-wave1.42-dev libboost1.42-all-dev libboost1.42-dev
==== SSHFS ====
I just rebuild fuse and sshfs in my public repo : http://rzr.online.fr/q/harmattan
Next job is to MounT a remote FileSystem on my HandSet running HarmattaN,
the goal is to BuilD on DevicE and also some DebiaN ChrooT ScratchBoX hacks ...
Note that for now It only works as root , but not user...
I suspect I must learn more on aegis or InceptioN ...
FeedBack WelcomE :
* http://talk.maemo.org/showthread.php?p=1194054#post1194054
* http://forum.meego.com/showthread.php?p=40497#post40497
* http://talk.maemo.org/showthread.php?t=75612&page=7
* http://talk.maemo.org/showthread.php?p=1215052#post1215052
=== INSTALL ===
As RooT :
devel-su
cat /etc/apt/sources.list.d/home-rzr-harmattan.list
deb http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/ ./
deb http://repo.pub.meego.com/home:/rzr:/harmattan/harmattan/ ./
apt-get install sshfs # fuse-utils
# ii fuse-utils 2.8.6maemo5+0m7 Filesystem in USErspace (utilities)
# ii libfuse2 2.8.6maemo5+0m7 Filesystem in USErspace library
# ii sshfs 2.2-1 filesystem client based on SSH File Transfer Protocol
ssh-keygen # optional
ssh-copy-id user@localhost # will save some typing
mkdir -p ~/mnt/sshfs ; sshfs user@localhost:/ ~/mnt/sshfs
df
user@localhost:/ 4128448 1717192 2201544 44% /root/mnt/sshfs
=== TODO ===
ToDo : As UseR
mkdir -p ~/mnt/sshfs ; sshfs user@localhost:/ ~/mnt/sshfs
# user@localhost's password:
# fuse: failed to open /dev/fuse: Permission denied
sshfs -d user@localhost:/ ~/mnt/sshfs
# user@localhost's password:
# fusermount: failed to open /etc/fuse.conf: Permission denied
# fusermount: mount failed: Operation not permitted
chgrp adm /etc/fuse.conf
sshfs user@localhost:/ ~/mnt/sshfs
# user@localhost's password:
# fusermount: mount failed: Operation not permitted
mkdir -p ~/mnt/sshfs ; sshfs user@localhost:/ ~/mnt/sshfs
# user@localhost's password:
# fusermount: mount failed: Operation not permitted
# strace
# mount("user@localhost:/", "/root/mnt/sshfs", "fuse.sshfs", MS_NOSUID|MS_NODEV, "max_read=65536,fd=4,rootmode=400"...) = -1 EPERM (Operation not permitted)
apt-cache show sshfs | grep Version
# Version: 2.2-1
dpkg-query --list *fuse*
# ii fuse-utils 2.8.5maemo5+0m6 Filesystem in USErspace (utilities)
# ii libfuse2 2.8.5maemo5+0m6 Filesystem in USErspace library
Probably that one should be SigneD / AutH :
# fuse-utils: /usr/bin/fusermount
WorkAround as RooT :
# umount ~/mnt/sshfs ; sshfs -o allow_other user@localhost:/ ~/mnt/sshfs
===== ERRORS =====
ProbleM :
~ $ strace strace encfs ~/local/encfs ~/mnt/encfs 2>&1 | grep mount
EncFS Password:
write(2, "mount(\"encfs\", \"/home/user/mnt/e"..., 110mount("encfs", "/home/user/mnt/encfs", "fuse.encfs", MS_NOSUID|MS_NODEV, "default_permissions,fd=4,rootmod"...) = 110
wait4(-1, fusermount: mount failed: Operation not permitted
SolutioN : WorkAround
Mount as root with -o options
ProbleM :
df: /home/user/mnt/encfs: Transport endpoint is not connected
SolutioN : WorkAround
-o reconnect -C -o workaround=all
http://kuttler.eu/post/sshfs-transport-endpoint-not-connecte/
http://stackoverflow.com/questions/16002539/fuse-error-transport-endpoint-is-not-connected
ProbleM : EncFs
df: /home/user/mnt/encfs: Transport endpoint is not connected
SolutioN : WorkAround
* http://article.gmane.org/gmane.comp.file-systems.fuse.devel/11922
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699225
* http://code.google.com/p/encfs/issues/detail?id=146
==== MISC ====
* http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Harmattan_security_Security_guide_Using_Harmattan_security_features.html
* http://osdir.com/ml/version-control.aegis.user/2006-02/msg00017.html
* http://maemo.cloud-7.de/950/aegis/credlist_all_executables
* http://lxr.free-electrons.com/source/include/linux/syscalls.h#L395
* http://talk.maemo.org/showthread.php?t=75612
* http://www.developer.nokia.com/Community/Wiki/Harmattan:Developer_Library/Developing_for_Harmattan/Harmattan_security/Security_guide
* http://ia600200.us.archive.org/12/items/Trusted-Computing/Trusted-Computing_LAFKON_HIGH.ogv
* http://debian.livejournal.com/294091.html
* http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FAQ
MisC :
* https://build.pub.meego.com/package/show?package=sshfs-fuse&project=home%3Arzr%3Aharmattan
* http://harmattan-dev.nokia.com/pool/harmattan/free/f/fuse/
* http://molly.corsac.net/~corsac/n9/sources-pr1.2/# fuse_2.8.6maemo5+0m7.dsc
* https://build.pub.meego.com/package/files?package=fuse-utils&project=home%3Aitsnotabigtruck
TaG: SsH LinuX KerneL FileSystem UserLand ModulE
{{http://en.qi-hardware.com/w/images/1/10/ME_382_LockedUpTechnology2.gif}}
===== OBSOLETE RANDOM NOTES ======
==== TODO ====
"gpg: can't lock" fuse
* https://lists.debian.org/debian-user/2006/08/msg01635.html
* https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/81080# RSynC
==== [[RzR]] ====
[[ToDo]] [[Linux]] [[Kernel]] [[Module]] [[Driver]] :
"archfs" mount archive like loop files
I have in project to learn [[Linux]] modules, to make a wrapper to compression tools, to say it short :
mount -t archfs -o loop file.tar.bz2 /mnt/tmp # same for zip tar tar.gz rar iso avi etc etc etc
see:
* https://gitorious.org/fuse-7z
* unp : http://bugs.debian.org/318338
* [[Emacs]] : tramp
* zipmagik ([[WindowsSoftware]])
* http://www.linuxnetmag.com/en/issue8/m8avfs1.html
* [[fuse]]
* http://www.boomerangsworld.de/cms/avfs/index?lang=en
* http://unix.stackexchange.com/questions/108623/transform-a-tar-archives-paths-without-extracting-it
==== Protocol ====
* http://httpfs.sourceforge.net/# ProtocoL HttP
==== FUSE ====
* URL : http://fuse.sf.net
sudo m-a auto-install --text lufs ; sudo modprobe -v fuse ; dmesg | tail
sudo apt-get install lufs-utils
TMPDIR=${TMPDIR}/tmp/tmp-${USER}-mnt/ ; mkdir -p ${TMDIR} && cd ${TMPDIR}
sudo lufsmount ftpfs://anonymous:ftp@kernel.org/ .
ls .
# for_mirrors_only lost+found pub usr welcome.msg
sudo lufsmount sshfs://root@remote/ /tmp/mnt/
http://wiki.thiesen.org/page/Fuseftp#Usage # [[ToDo]] [[Debian]]
http://fuse.sourceforge.net/filesystems.html
http://lufs.sourceforge.net/lufs/fs.html
==== [[Linux]] [[Kernel]] [[Driver]] ====
[[FileTransfer]]s with Transparent mount ftp ssh etc :
http://lufs.sourceforge.net/lufs/fs.html
Lufsmount ://[[[[:]]@]][[]][[:]][[/]] [[OPTIONS]]
lufsmount ftpfs://user:pass@host.com/path/ /mnt/tmp
# fs=file_system : the file system type to mount (localfs, sshfs, ftpfs)
* http://submount.sourceforge.net/
* http://primates.ximian.com/~sandino/gnomevfs-mount/
* http://sourceforge.net/project/showfiles.php?group_id=121684&package_id=132803
* http://cvs.sourceforge.net/viewcvs.py/fuse/python
* http://cvs.sourceforge.net/viewcvs.py/fuse/perl
* http://sourceforge.net/projects/ocamlfuse
* http://pobox.com/~vgough/fuse-csharp.html
* https://github.com/jcline/fuse-google-drive# StoragE
===== SOFTWARE =====
* https://www.cryfs.org/comparison
* https://build.merproject.org/project/show/home:pcfe:private:exfat# JollA SailFishOs
* https://code.google.com/p/exfat/# FaT
* https://github.com/rasguanabana/ytfs# WeB
* https://github.com/rianhunter/dbxfs# ClouD
===== MISC =====
* http://www.unixgarden.com/index.php/administration-systeme/fuse-developpez-vos-systemes-de-fichiers-dans-l%e2%80%99espace-utilisateur#
* https://github.com/juicedata/juicefs#
===== MORE =====
@TaG : LinuxKernel UserLand FileSystem
@tag: [[Kernel]] [[module]] [[FileSystem]] [[fs]] [[mount]] [[linux]] [[ssh]] AegiS TrusT SshFs
{{http://clind.aimao.org/develop/Japan/plaques/P1060245.JPG}}