About create transaction dir


#1

I am a user of RT and have used it for month. But this week, I suddenly found it doesn’t work and noticed the maillog saying,

Dec 17 16:47:10 smtp1 qmail: 977042830.507542 delivery 6506: success: Could_not_create_dir_/var/rt/transactions/2000/Dec/17:_Permission_denied/did_0+0+1/

I wander qmail create the dir using which user, rt or qmail (not root of course), and why it works before and stop working suddenly. And my /var/rt/bin is below,

dr-xr-xr-x 3 root root 4096 Dec 4 14:23 .
dr-xr-xr-x 7 root root 4096 Sep 19 14:51 …
dr-xr-xr-x 2 root root 4096 Sep 26 15:30 cgi
lrwxrwxrwx 1 root root 24 Sep 26 15:30 rt -> /var/rt/bin/suid_wrapper
lrwxrwxrwx 1 root root 24 Sep 26 15:30 rt-mailgate -> /var/rt/bin/suid_wrapper
lrwxrwxrwx 1 root root 24 Sep 26 15:30 rtadmin -> /var/rt/bin/suid_wrapper
-rwxr-xr-x 1 root root 2084 Sep 26 15:30 rtmux.pl
-r-xr-xr-x 1 root root 2166 May 10 1999 rtmux.pl.orig
lrwxrwxrwx 1 root root 24 Sep 26 15:30 rtq -> /var/rt/bin/suid_wrapper
-r-xr-xr-x 1 root root 3405 Nov 1 11:08 stripmime
—s–x--x 3 rt root 12756 Sep 26 15:30 suid_wrapper

I don’t know what’s wrong with it. And I think qmail is always running as qmail as usual.

Would you pls be so kind to give some suggestion on this issue?

Thanks.

Charlie Zhu


#2

Looks like someone changed permissions settings on your setup.

All of the /var/rt/bin should be owned/group = rt

It appears that you /var/rt/transactions directory is set wrong
as well. It needs to be owner/group rt:rt

–From rt-users-admin@lists.fsck.com Fri Dec 22 09:02 PST 2000
–Delivered-To: rt-users@pallas.eruditorum.org
–To: rt-users@lists.fsck.com
–MIME-Version: 1.0
–X-Priority: 3
–X-MSMail-Priority: Normal
–X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
–Subject: [rt-users] About create transaction dir
–X-BeenThere: rt-users@lists.fsck.com
–X-Mailman-Version: 2.0beta5
–List-Id: For users of RT: Request Tracker <rt-users.lists.fsck.com>
–Content-Transfer-Encoding: 8bit
–X-MIME-Autoconverted: from base64 to 8bit by mendel.ucsc.edu id JAA15124
–I am a user of RT and have used it for month. But this week, I suddenly found it doesn’t work and noticed the maillog saying,
–Dec 17 16:47:10 smtp1 qmail: 977042830.507542 delivery 6506: success: Could_not_create_dir_/var/rt/transactions/2000/Dec/17:_Permission_denied/did_0+0+1/
–I wander qmail create the dir using which user, rt or qmail (not root of course), and why it works before and stop working suddenly. And my /var/rt/bin is below,
–dr-xr-xr-x 3 root root 4096 Dec 4 14:23 .
–dr-xr-xr-x 7 root root 4096 Sep 19 14:51 …
–dr-xr-xr-x 2 root root 4096 Sep 26 15:30 cgi
–lrwxrwxrwx 1 root root 24 Sep 26 15:30 rt -> /var/rt/bin/suid_wrapper
–lrwxrwxrwx 1 root root 24 Sep 26 15:30 rt-mailgate -> /var/rt/bin/suid_wrapper
–lrwxrwxrwx 1 root root 24 Sep 26 15:30 rtadmin -> /var/rt/bin/suid_wrapper
—rwxr-xr-x 1 root root 2084 Sep 26 15:30 rtmux.pl
—r-xr-xr-x 1 root root 2166 May 10 1999 rtmux.pl.orig
–lrwxrwxrwx 1 root root 24 Sep 26 15:30 rtq -> /var/rt/bin/suid_wrapper
—r-xr-xr-x 1 root root 3405 Nov 1 11:08 stripmime
-----s–x--x 3 rt root 12756 Sep 26 15:30 suid_wrapper
–I don’t know what’s wrong with it. And I think qmail is always running as qmail as usual.
–Would you pls be so kind to give some suggestion on this issue?
–Thanks.
–Charlie Zhu
–��������������������������������������z�&j)b� b���������l����(�em����±���rOܢo�j)fj��b��?�����