In my limited experience, it appears to be the same. Very strange. It
happens pretty regularly now too. 

FAILED:
----------------
3720  stat64(".", {st_dev=makedev(8, 3), st_ino=1439300,
st_mode=S_IFDIR|S_ISUID|S_ISGID|0775, st_nlink=7, st_u
id=102, st_gid=8, st_blksize=4096, st_blocks=8, st_size=4096,
st_atime=2005/02/01-10:52:14, st_mtime=2005/02/01
-03:55:24, st_ctime=2005/02/01-03:55:24}) = 0
3720  chdir("ipso_sm")                  = -1 EACCES (Permission denied)
3720  fstat64(1, {st_dev=makedev(0, 4), st_ino=148341, st_mode=S_IFSOCK|
0777, st_nlink=1, st_uid=0, st_gid=0, s
t_blksize=1024, st_blocks=0, st_size=0, st_atime=0, st_mtime=0,
st_ctime=0}) = 0


WORKED:
----------------

3762  stat64(".", {st_dev=makedev(8, 3), st_ino=1439300,
st_mode=S_IFDIR|S_ISUID|S_ISGID|0775, st_nlink=7, st_u
id=102, st_gid=8, st_blksize=4096, st_blocks=8, st_size=4096,
st_atime=2005/02/01-10:52:14, st_mtime=2005/02/01 -03:55:24,
st_ctime=2005/02/01-03:55:24}) = 0
3762  chdir("ipso_sm")                  = 0
3762  stat64("loginexec", 0xbffff74c)   = -1 ENOENT (No such file or
directory)
3762  write(2, "INFO: LOGIN, user=ipso_sm, ip=[::ffff:207.81.249.35]\n",
53) = 53
3762  open("tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
3762  fstat64(3, {st_dev=makedev(8, 3), st_ino=1439310, st_mode=S_IFDIR|
S_ISGID|0770, st_nlink=2, st_uid=102, s
t_gid=8, st_blksize=4096, st_blocks=8, st_size=4096,
st_atime=2005/02/01-11:05:40, st_mtime=2005/02/01-11:05:40
, st_ctime=2005/02/01-11:05:40}) = 0



On Tue, 2005-02-01 at 07:11 -0500, Sam Varshavchik wrote:
> Mike Benoit writes:
> 
> > I recently installed Courier-pop3 with MySQL support on Debian, and
> > everything seemed to be working perfectly, until I went to check my
> > email and got this error:
> > 
> > -ERR Maildir: Permission denied
> > 
> > I tried it again immediately afterward and it worked! I thought nothing
> > of it at the time, but within an hour or so, it happened again. This
> > time it failed about 15times in a row, before it finally worked again. I
> > changed nothing on the server to make it work, it just magically
> > "breaks" and "fixes itself" at random it seems.
> > 
> > Following are some straces I captured about 130seconds apart, notice the
> > chdir() calls, which I think are causing the issue.
> > 
> > As far as I know, the permissions are correct, because it works one
> > second, then fails the next.
> > 
> > Any ideas what might be causing this? Is it a Courier problem, or
> > libc/kernel issue perhaps?
> 
> Use the -v option to strace to capture all data.  Of interest would be the 
> preceding stat() call on the current directory.  This should tell you 
> whether the same current directory appears in both instances.
> 
-- 
Mike Benoit <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to