15 Sep
2008
15 Sep
'08
5:03 p.m.
On Mon, 2008-09-15 at 15:26 +0200, Włodek Waligórski wrote:
open(".", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)
Oh. unlink_directory() tries to preserve the current directory, so it first opens it. Since it can't, it means the user doesn't have access to the process's current directory. So either
a) You're returning a home directory where the user doesn't have read access.
b) You're not returning a home directory, and user doesn't have read access to /tmp.