Re: Ecryptfs over sshfs and timestamps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, it works now. I was calling just "mount" as a user and not
"mount -i", it works with "mount -i".

I ultimately tracked down the utimensat(...) = EPERM problem to a
UID/GID mismatch between my machine and the remote one.
My local user is 1000:1000, the remote one is 1001:1001. When I just
mount the sshfs, I see all remote files as 1001:1001.
I can still access all of them, including the -rw------- (600) ones,
but apparently ecryptfs doesn't like this setup.

When I mount the ecryptfs lower dir with sshfs ... -o uid=1000 -o
gid=1000, cp --preserve=timestamps works, it doesn't matter
if I mount the ecryptfs on top as root (mounting as root requries
sshfs ... -o allow_root) or as the user.
--
To unsubscribe from this list: send the line "unsubscribe ecryptfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Crypto]     [Device Mapper Crypto]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux