On Tue, Dec 18, 2007 at 10:44:06AM -0500, jayjwa wrote:
> The test with one file on this machine was OK, but soon as I put it
> into real use on another machine and tried to do a mount, the mount
> fails on empty directories. It says something about not being able
> to resolve a full path, but there's nothing special about the
> directory /var/cache/ecryptfs/100. It's not NFS or any such thing,
> just a normal filesystem directory. This was reproduced with first
> my real key, then here, a testing key.

Strange. So if you execute just this as root, you get an error?

---
#include <limits.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>

int main()
{
        char *path;

        path = realpath("/var/cache/ecryptfs/100", NULL);
        if (path == NULL)
                printf("errno = [%m]\n", errno);
}
---

Mike

Attachment: pgpsW7btRMElR.pgp
Description: PGP signature

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
eCryptfs-users mailing list
eCryptfs-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-users

Reply via email to