Commit Graph

323 Commits

Author SHA1 Message Date
Valient Gough
34faaf417f Merge pull request #131 from brycv/master
Fix typo in man page
2015-12-13 22:07:39 -08:00
Bryan Vyhmeister
d84d46c21d Fix typo in man page 2015-11-30 13:51:38 -08:00
Valient Gough
f0fdbd8fb0 Merge pull request #130 from rfjakob/issue112
Remove open_readonly_workaround
2015-11-30 11:21:43 -08:00
Jakob Unterwurzacher
c2e046b694 Remove open_readonly_workaround
Since commit 82ceb88998 has removed
libfuse permissions checking, this function has caused read-only
files to writeable.

There seems to be no valid use case for writing to a read-only file (anymore?),
remove the function.

Fixes issue 112.
2015-11-30 08:43:41 +01:00
Jakob Unterwurzacher
ed058fabcd Handle getSize errors in BlockFileIO::write
getSize can return -1 if the file was deleted.
Just return an error to the user instead of
crashing in a segmentation fault.
2015-11-23 08:16:05 +01:00
Valient Gough
deba6064ac Merge pull request #128 from nckx/master
encfs.pod: remove duplicate full stops
2015-11-22 21:09:01 -08:00
Tobias Geerinckx-Rice
5803be109d encfs.pod: remove duplicate full stops 2015-11-18 00:43:25 +01:00
Valient Gough
52d5302eb9 Merge pull request #127 from rfjakob/repair-tests
Repair tests
2015-11-14 16:04:09 -08:00
Valient Gough
a461d88cc3 Merge pull request #125 from ossobv/wjd-refuse_descent_into_own_mountpoint
Perform checks to ensure that we're not descending into ourself.
2015-11-14 16:03:00 -08:00
Jakob Unterwurzacher
fe4b2a6345 Add "build.sh" helper script
Simplifies compiling encfs and is also used by test.sh
2015-11-12 19:18:35 +01:00
Jakob Unterwurzacher
a424a2155b tests: fix paths for new build path, add "test.sh" wrapper for usability
All tests pass at the moment.
2015-11-12 19:18:35 +01:00
Jakob Unterwurzacher
c3e63d7836 tests: fix "push on reference is experimental" warning
"tests/reverse.t.pl .. push on reference is experimental at tests/common.pl line 144."
2015-11-12 19:18:34 +01:00
Walter Doekes
07fb5b8990 Perform checks to ensure that we're not descending into ourself.
It's possible to mount this filesystem in a descendant of the real
(source) filesystem. For instance, one could do this:

    encfs --reverse / /home/encrypted/rootfs

At that point, all files in `/` (like `/root/.bashrc`) are also in
`/home/encrypted/rootfs` (like `/home/encrypted/rootfs/root/.bashrc`).

This can be useful when you want to export an encrypted copy of the
filesystem: the remote backup machine can fetch any file, but all files
will be encrypted.

However, the mountpoint itself is also there:

    /home/encrypted/rootfs/home/encrypted/rootfs

This would cause a `find /` of the filesystem to take infinite time. And
what's worse; trying to read files from there would cause the filesystem
to lock up:

    cat /home/encrypted/rootfs/home/encrypted/rootfs/root/.bashrc
    (infinite hang)

This patch adds an extra check so the filesystem refuses to descend into
itself.
2015-11-12 11:08:31 +01:00
Valient Gough
2d3780bb64 Merge pull request #113 from cloehle/patch-1
Fixed typo
2015-10-11 21:55:42 -07:00
Valient Gough
71cecd249b Merge pull request #117 from posita/posita/osx-encfssh
Use `umount` on systems where `fusermount` is not available.
2015-10-11 21:54:12 -07:00
Matt Bogosian
95d6ae8bec Use umount on systems where fusermount is not available. 2015-10-11 13:33:49 -07:00
Christian Loehle
1e52f2126c Fixed typo then -> than
Signed-off-by: Christian Loehle <cloehle@linutronix.de>
2015-09-18 12:20:04 +02:00
Valient Gough
340fefda32 Merge pull request #105 from vgough/cmake28
Lower CMAKE dependency to version 2.8
2015-08-20 20:21:37 -07:00
Valient Gough
05a445d65c use default cmake install for circle ci test 2015-08-19 20:13:14 -07:00
Valient Gough
4742699fdf lower required CMake version to 2.8 2015-08-19 20:11:40 -07:00
Valient Gough
29c518d9d7 Add reference to CircleCi
Update installation description to also reference CircleCi
2015-07-23 21:39:27 -04:00
Valient Gough
cbe37e5b47 Merge pull request #91 from vgough/circle
Add support for Circle CI.
2015-06-19 00:04:54 -07:00
Valient Gough
d5506e6d4b add encfsctl check to drone build 2015-06-19 00:02:44 -07:00
Valient Gough
6e4e36cfbe add circle to build status 2015-06-19 00:02:44 -07:00
Valient Gough
48f2d97ab8 add circle.yml 2015-06-19 00:02:44 -07:00
Valient Gough
30b5b53163 change minimum cmake requirement to 3.1, for C++11 support 2015-06-18 08:50:55 -07:00
Valient Gough
31e302cb4a Set RPATH to install location, for #87. 2015-06-18 08:50:55 -07:00
Valient Gough
6700a76c0d Merge pull request #89 from vgough/cleanup
Cleanup formatting and includes.
2015-06-17 23:37:40 -07:00
Valient Gough
29a6c8aabd update so version 2015-06-17 23:19:15 -07:00
Valient Gough
3b751dde57 Replace check for GNU internal hashmap with std unordered_map. 2015-06-17 22:59:34 -07:00
Valient Gough
98b2d50b40 Make encfs include paths consistent. 2015-06-17 22:59:04 -07:00
Valient Gough
32fe6e104a run IYWU to fixup includes 2015-06-17 22:44:11 -07:00
Valient Gough
1682f365d9 run clang-format 2015-06-17 21:16:50 -07:00
Valient Gough
0b813eb50b Revert "re-add basic support for tr1 memory", breaks drone check. 2015-06-17 21:07:55 -07:00
Valient Gough
a3220d2ce8 remove reference to old autoconf script 2015-06-17 20:47:56 -07:00
Valient Gough
6cd40ff136 drop old script 2015-06-17 20:47:13 -07:00
Valient Gough
9cc4196f3d drop checks for tr1 headers that are not used 2015-06-17 20:46:46 -07:00
Valient Gough
1f111e2e1a re-add basic support for tr1 memory 2015-06-17 20:45:19 -07:00
Valient Gough
c22904b795 drop autoconf ignore rules 2015-06-16 20:41:50 -07:00
Valient Gough
faf35fabf9 check xopt args quietly 2015-06-16 20:38:42 -07:00
Valient Gough
9632b7a36c fix install targets 2015-06-16 10:18:10 -07:00
Valient Gough
d89c69b10c cleanup fuse search path specification 2015-06-16 08:03:02 -07:00
Valient Gough
34b0d0d61b point badge at master branch 2015-06-15 23:54:13 -07:00
Valient Gough
529224ff6d Merge pull request #84 from vgough/cmake
Replace autoconfig with CMake
2015-06-15 23:53:08 -07:00
Valient Gough
12e8efb2cd add test target 2015-06-15 23:48:14 -07:00
Valient Gough
f04381fe17 move install commands closer to definitions 2015-06-15 21:16:00 -07:00
Valient Gough
322da93252 change library name back to encfs 2015-06-15 21:10:48 -07:00
Valient Gough
377c9ec73f change INSTALL docs to use cmake 2015-06-15 21:00:45 -07:00
Valient Gough
0fc7bbe992 add po file compilation 2015-06-15 20:36:26 -07:00
Valient Gough
2ec85a6638 add drone-config files, for setting up a standalone drone instance 2015-06-15 20:25:29 -07:00