rclone/cmd/mount
Nick Craig-Wood a6f6a9dcdf mount,mount2,cmount: fix --allow-non-empty #3562
Since version 3 of fuse libfuse no longer does anything when given the
nonempty option and it's default is to allow mounting over non empty
directories like normal mount does.

Some versions of libfuse give an error when using `--allow-non-empty`
which is annoying for the user.

We now do this check ourselves so we no longer need to pass the option
to libfuse.

Fixes #3562
2023-01-20 15:39:54 +00:00
..
test Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
dir.go Error strings should not be capitalized 2022-06-23 23:26:02 +02:00
file.go mount: remove legacy OS X remnants 2022-06-13 18:06:38 +01:00
fs.go mount: log IO errors at ERROR level - fixes #6217 2022-06-16 22:13:50 +01:00
handle.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
mount_test.go mount: allow tests to run on CI 2022-06-16 16:48:09 +01:00
mount_unsupported.go build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
mount.go mount,mount2,cmount: fix --allow-non-empty #3562 2023-01-20 15:39:54 +00:00