[rt-users] RE: Recurring Permissions Errors w/ RT 3.4.0

Brian W. Spolarich bwspolarich at uscar.org
Wed Apr 20 17:04:45 EDT 2005


Brian W. Spolarich wrote:
>   Something has changed in my RT enironment that is causing
> umask or permissions problems w/ Mason.

  I haven't seen a response to this (anyone? :-), but I have another
intermittent symptom of this problem.

  I noticed this in my mail queue after responding to a message:

j3KKLmvc026806      309 Wed Apr 20 16:21 <>
                 (Deferred: prog mailer (/usr/sbin/smrsh) exited with
EX_TEMPF)
                                         "|rt-mailgate --queue
rfpo-support --a

  I ran the rt-mailgate program to see what happened:

/etc/smrsh/rt-mailgate --queue rfpo-support --action correspond --debug
--url https://foo.com/rt/
hello

quit
^D
<pre>read-open /tmp/UwEGePdc9v/part-26199-4.txt: Permission denied at
/usr/lib/perl5/site_perl/5.8.0/MIME/Body.pm line 417.

  Taking a look at the temp directory, I see this:

root at ws1:mqueue# ls -l /tmp/UwEGePdc9v 
total 4
----------    1 apache   apache          5 Apr 20 16:50 part-26199-4.txt

  Again, these temp directories get created with wacky modes (0000 in
this case).

  I also see this in the rt.log file:

[Wed Apr 20 20:50:07 2005] [warning]: Can't remove directory
/tmp/UwEGePdc9v: Directory not empty at /opt/rt3/lib/RT/EmailParser.pm
line 627 (/opt/rt3/lib/RT.pm:277)

  Looking at the temp directories that don't get removed, I see these
perms:

root at ws1:/tmp# find HGSb5lNWOx DXcYnVLUcm lJIs5RNJju 0ouhmQs94U
UwEGePdc9v -ls
474563    4 drwx------   2 apache   apache       4096 Apr 13 13:28
HGSb5lNWOx
474564    4 ----------   1 apache   apache        143 Apr 13 13:28
HGSb5lNWOx/part-28003-3.txt
474565    4 ----------   1 apache   apache        586 Apr 13 13:28
HGSb5lNWOx/part-28003-4.html
834337    4 drwx------   2 apache   apache       4096 Apr 20 16:21
DXcYnVLUcm
834338    4 ----------   1 apache   apache        309 Apr 20 16:21
DXcYnVLUcm/part-26199-1.txt
834339    4 drwx------   2 apache   apache       4096 Apr 20 16:21
lJIs5RNJju
834340    4 ----------   1 apache   apache        309 Apr 20 16:21
lJIs5RNJju/part-26199-2.txt
834341    4 drwx------   2 apache   apache       4096 Apr 20 16:50
0ouhmQs94U
834342    4 ----------   1 apache   apache          5 Apr 20 16:50
0ouhmQs94U/part-26199-3.txt
834343    4 drwx------   2 apache   apache       4096 Apr 20 16:50
UwEGePdc9v
834344    4 ----------   1 apache   apache          5 Apr 20 16:50
UwEGePdc9v/part-26199-4.txt

  So what the heck is causing these totally inappropriate directory
modes?  Whatever is causing this is also presumably causing my
mason_files directory to get screwed up.

  -brian
  

  




More information about the rt-users mailing list