Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp -a into mounted ouisync repo partially fails #168

Open
Juul opened this issue Jul 11, 2024 · 0 comments
Open

cp -a into mounted ouisync repo partially fails #168

Juul opened this issue Jul 11, 2024 · 0 comments

Comments

@Juul
Copy link

Juul commented Jul 11, 2024

When running cp -a foo ~/ouisync/repo, where ~/ouisync/repo is a mounted ouisync repo, and foo is a directory with contents I get an empty foo directory inside ~/ouisync/repo which is then synced to other peers and I get the following error:

cp: setting permissions for '/home/<user>/ouisync/phone/foo': Operation not supported

To compare, using cp -a into a regular filesystem that doesn't support *nix permissions (FAT32) results in a successful recursive copy with the following output:

cp -a foo /mnt/tmp/
cp: failed to preserve ownership for '/mnt/tmp/foo/bar/baz': Operation not permitted
cp: failed to preserve ownership for '/mnt/tmp/foo/bar': Operation not permitted
cp: failed to preserve ownership for '/mnt/tmp/foo': Operation not permitted

This is what I would expect from ouisync. It is not unusual for programs, gui or otherwise, to default to preserving permissions on copy so this effectively stops some programs from copying data into a ouisync mount.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant