Giuseppe Scrivano
0b551b90bd
man: document squash functionalities
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-22 15:58:11 +01:00
Giuseppe Scrivano
e5d35c9a01
main: add squash_to_uid and squash_to_gid
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-22 15:57:56 +01:00
Daniel J Walsh
bccc81eb8e
Merge pull request #267 from giuseppe/github-actions-ci
...
tests: move to github actions instead of travis
2020-12-21 13:48:03 -05:00
Giuseppe Scrivano
fa1dc2cf53
test: use github actions for CI
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-21 18:39:30 +01:00
Giuseppe Scrivano
43a1faf889
.travis.yml: remove file
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-21 17:44:58 +01:00
Giuseppe Scrivano
abf77369b3
tests: upgrade to centos:8
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-21 17:44:49 +01:00
Giuseppe Scrivano
53f598afea
tests: drop -ti
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-12-21 17:04:29 +01:00
Daniel J Walsh
3a1301ec2d
Merge pull request #264 from giuseppe/tag-1.3
...
NEWS: tag 1.3
2020-11-25 09:26:20 -05:00
Giuseppe Scrivano
18f574f192
NEWS: tag 1.3
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.3.0
2020-11-25 14:42:50 +01:00
Daniel J Walsh
a9d8634e5f
Merge pull request #260 from giuseppe/invalidate-cache-readdir
...
main: invalidate directory cache on create/rename
2020-11-11 16:34:50 -05:00
Daniel J Walsh
84c224c6d1
Merge pull request #261 from giuseppe/fix-override
...
utils: enable override only for directories and files
2020-11-11 16:33:46 -05:00
Giuseppe Scrivano
33a2fa47c9
main: invalidate directory cache on create/rename
...
if we are adding a new file to a directory, the parent directory must
be invalidated if it is in the middle of a opendir/releasedir
otherwise the added files won't be cached.
Closes: https://github.com/containers/fuse-overlayfs/issues/259
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-11 15:34:01 +01:00
Giuseppe Scrivano
7868e49da8
utils: enable override only for directories and files
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-11 11:18:41 +01:00
Daniel J Walsh
fc9de46ebf
Merge pull request #258 from giuseppe/block-set-containers-xattr
...
main: block setting the user.containers. xattr
2020-11-07 10:20:37 -05:00
Giuseppe Scrivano
a513d3de66
main: block setting the user.containers. xattr
...
it is reserved for internal usage with containers/storage.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-07 12:08:18 +01:00
Daniel J Walsh
15a04643b8
Merge pull request #257 from giuseppe/stat-override-containers
...
main: honor user.containers.override_stat
2020-11-06 11:35:01 -05:00
Giuseppe Scrivano
3cb30d4c11
main: honor user.containers.override_stat
...
also honor user.containers.override_stat to override containers stat
override as it is set by containers/storage.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-06 13:19:51 +01:00
Giuseppe Scrivano
3dbb7d9bd5
main: move stat override mode to enum
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-06 13:17:14 +01:00
Daniel J Walsh
d450ee1560
Merge pull request #256 from giuseppe/open-rm-files
...
main: open hidden files
2020-11-03 17:08:45 -05:00
Daniel J Walsh
61c9b1dd4a
Merge pull request #255 from giuseppe/fix-xattr-remapped
...
main: always remap ids when specified
2020-11-03 17:07:31 -05:00
Giuseppe Scrivano
98c62ee1a0
main: open hidden files
...
if a file is delete and not accessible from the file system, but it is
still referenced, we must be able to open and use it.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-02 13:20:31 +01:00
Giuseppe Scrivano
de2fc6b14c
main: always remap ids when specified
...
if a mapping is specified, make sure it is always honored, also when
using xattr permissions.
Closes: https://github.com/containers/fuse-overlayfs/issues/253
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-11-02 11:55:21 +01:00
Daniel J Walsh
fbae3f0271
Merge pull request #252 from giuseppe/volatile
...
main: honor option volatile
2020-10-21 13:09:49 -04:00
Giuseppe Scrivano
589e363cc8
main: honor option volatile
...
upstream Linux added an option "volatile" for overlay mounts that has
the same meaning as fsync=0 already supported by fuse-overlayfs.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-21 18:03:17 +02:00
Giuseppe Scrivano
80d0ed6499
Merge pull request #251 from progrunner17/fix_typo
...
fix typo in debug log
2020-10-21 16:15:10 +02:00
Daniel J Walsh
2a9bd5b053
Merge pull request #244 from sectorsize512/fix/manpage
...
man: removing the duplicate description of workdir option
2020-10-21 09:23:27 -04:00
Shotaro Gotanda
e6012da12f
main: fix typo
...
Signed-off-by: Shotaro Gotanda <g.sho1500@gmail.com>
2020-10-21 05:27:45 +09:00
Giuseppe Scrivano
428bc7bdec
Merge pull request #248 from progrunner17/patch-1
...
fix errno
2020-10-20 19:27:31 +02:00
Shotaro Gotanda
6043ce7ddb
main: fix fuse_reply_error to use errno on malloc failure
...
fuse_reply_error should receive errno instead of ENOMEM just after
malloc returned NULL.
Signed-off-by: Shotaro Gotanda <g.sho1500@gmail.com>
2020-10-21 00:30:23 +09:00
Shotaro Gotanda
df46733cf8
main: fix fuse_reply_error to use ENOMEM on calloc failure
...
fuse_reply_error should receive ENOMEM instead of ENOENT.
Signed-off-by: Shotaro Gotanda <g.sho1500@gmail.com>
2020-10-21 00:25:57 +09:00
Daniel J Walsh
54da2c0cf4
Merge pull request #249 from progrunner17/patch-2
...
fix typo of debug output of lo.gid_str
2020-10-20 10:02:57 -04:00
Daniel J Walsh
ce277b849d
Merge pull request #250 from AkihiroSuda/fix-configure-ac
...
configure.ac: set version to 1.2.0+dev
2020-10-20 09:59:41 -04:00
Akihiro Suda
10f379bcb7
configure.ac: set version to 1.2.0+dev
...
Relates to #224
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-10-20 15:41:08 +09:00
Shotaro Gotanda
65ea4595c4
fix typo
2020-10-20 06:41:44 +09:00
Daniel J Walsh
f009906072
Merge pull request #246 from giuseppe/create-inodes-0755
...
main: create inodes with 0755 with xattr_permissions
2020-10-10 07:16:29 -04:00
Giuseppe Scrivano
9c2575eede
Merge pull request #243 from plopresti/squash-to-root
...
Add squash_to_root mount option
2020-10-09 19:48:56 +02:00
Giuseppe Scrivano
9eb724ca15
main: create inodes with 0755 with xattr_permissions
...
make sure the inodes are created with mode 0755 when using
xattr_permissions, otherwise the original permission could prevent
running on NFS. Requires Linux 5.9 for NFS with xattr support.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-09 16:33:14 +02:00
Giuseppe Scrivano
ba7314233d
Merge pull request #245 from giuseppe/install-go-md2man
...
build: check for go-md2man
2020-10-09 10:08:45 +02:00
Giuseppe Scrivano
2f54ffce73
build: check for go-md2man
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
v1.2.0
2020-10-09 09:51:22 +02:00
Giuseppe Scrivano
3548168535
Containerfile.cross: install go-md2man
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-09 09:39:46 +02:00
Vasily Tarasov
48fd6cc183
man: removing the duplicate description of workdir option
...
Signed-off-by: Vasily Tarasov <vtarasov@us.ibm.com>
2020-10-08 15:15:55 -07:00
Patrick J. LoPresti
032877c501
Add squash_to_root mount option
...
(https://github.com/containers/fuse-overlayfs/issues/241 ).
2020-10-08 12:49:40 -07:00
Daniel J Walsh
0df6cf68f7
Merge pull request #242 from giuseppe/tag-1.2
...
NEWS: tag 1.2
2020-10-08 14:11:28 -04:00
Giuseppe Scrivano
edd565533d
NEWS: tag 1.2
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-08 17:50:15 +02:00
Daniel J Walsh
1760775f99
Merge pull request #240 from giuseppe/rename-dockerfiles
...
build: rename Dockerfile to Containerfile
2020-10-07 11:02:28 -04:00
Daniel J Walsh
3c4eb36f7b
Merge pull request #239 from giuseppe/leak-fix
...
main: fix a potential leak and be more aggressive on releasing inodes
2020-10-07 11:01:54 -04:00
Giuseppe Scrivano
a65b310508
build: rename Dockerfile to Containerfile
...
since these files need the -v option that is not present with Docker,
rename the files to Containerfile to avoid confusion.
more info: https://twitter.com/cpuguy83/status/1313523894536429568
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-06 19:22:49 +02:00
Giuseppe Scrivano
da71779dd9
fuse-overlayfs.1: regenerate
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-06 18:31:14 +02:00
Giuseppe Scrivano
0e33eb5da8
main: drop the ino if the last node is removed
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-06 17:47:36 +02:00
Giuseppe Scrivano
228544e71d
main: remove unreferenced inodes on forget_multi
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-10-06 17:47:35 +02:00