Re: clone fails: Could not get the current working directory

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

 



Alex Riesen wrote:
I actually expected "ls -R" giving error about unable to read the directory (permissions).

This worked.
Again: try a simple program which just does getpwd for this pathname

From what I gather, getpwd() is in libiberty, which I didn't feel like messing with for this example. I ran a small test program that called getcwd() in the repo directory, and it failed. errno was set to EACCES, indicating insufficient permissions.

http://www.opengroup.org/onlinepubs/009695399/functions/getcwd.html

I may get around later to patching this, but for now we're moving ahead with a workaround.

- John
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux