You guys will prolly get tired of hearing from me... ;)


#1

another issue I just noticed. Whenever I create a queue from the CLI I get
the following:

./rtadmin queue -create test2

Welcome to Request Tracker 1.0.7
Queue email alias (ex: support@example.com):rt-test2@host.net
Mail request owner on transaction [N]:
Mail queue members on transaction [N]:
Mail requestors on transaction [N]:
Autoreply to requestor on creation [N]:y
Mail correspondence to queue members [N]:y
Mail queue members on comment [N]:y
Allow non-queue members to create requests [N]:
Default request priority (1-100):1
Default final request priority (1-100):99
Are you satisfied with your answers [N]:y
cp: /usr/local/rt/etc/templates/queues/test2/web_create: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/comment: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/correspondence: Permission
denied
cp: /usr/local/rt/etc/templates/queues/test2/error: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/give: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/respond: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/steal: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/transaction: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/autoreply: Permission denied
Queue test2 sucessfully created.

the permissions on the files:

ls -Rl

total 1
drwxr-x— 5 rt rt 512 May 20 06:54 queues

./queues:
total 3
-rwxr-x–x 1 rt rt 0 Dec 9 1997 .placeholder
drwxr-x— 2 rt rt 512 May 16 21:38 _rt_system
drwxr-x— 2 rt rt 512 May 17 03:14 test
dr-xr-xr-x 2 rt rt 512 May 16 21:38 test2

./queues/_rt_system:
total 2
-rwxr-x–x 1 rt rt 45 Dec 9 1997 act_response
-rwxr-x–x 1 rt rt 35 Dec 9 1997 error

./queues/test:
total 8
-rwxr-x–x 1 rt rt 620 May 17 03:14 autoreply
-rwxr-x–x 1 rt rt 230 May 17 03:14 comment
-rwxr-x–x 1 rt rt 16 May 17 03:14 correspondence
-rwxr-x–x 1 rt rt 10 May 17 03:14 error
-rwxr-x–x 1 rt rt 94 May 17 03:14 give
-rwxr-x–x 1 rt rt 17 May 17 03:14 respond
-rwxr-x–x 1 rt rt 96 May 17 03:14 steal
-rwxr-x–x 1 rt rt 362 May 17 03:14 transaction
-rwxr-x–x 1 rt rt 0 May 17 03:14 web_create

./queues/test2:

cd …/…/lib

ls -Rl

total 3
dr-xr-xr-x 2 root wheel 512 May 16 21:38 generic_templates
dr-xr-xr-x 2 root wheel 512 May 18 20:49 images
dr-xr-xr-x 5 root wheel 512 May 16 21:38 rt

./generic_templates:
total 8
-r-xr-xr-x 1 root wheel 620 Dec 23 1999 autoreply
-r-xr-xr-x 1 root wheel 230 Dec 23 1999 comment
-r-xr-xr-x 1 root wheel 16 Dec 9 1997 correspondence
-r-xr-xr-x 1 root wheel 10 Dec 9 1997 error
-r-xr-xr-x 1 root wheel 94 Dec 23 1999 give
-r-xr-xr-x 1 root wheel 17 Dec 9 1997 respond
-r-xr-xr-x 1 root wheel 96 Dec 23 1999 steal
-r-xr-xr-x 1 root wheel 362 Jan 27 1998 transaction
-r-xr-xr-x 1 root wheel 0 Dec 9 1997 web_create

I know that the permissions were very deliberatly set during the install,
so I am not sure which set are correct. Also, you’ll note that I’m
currently logged in as root, so I cannot understand why it’d be having a
problem at all, unless the suid_wrapper is messed up…

thoughts?

Shane Allen shane@tacni.net

#!/usr/bin/perl -w
$_ = q;4a75737420616e6f74686572205065726c204861636b65720as;;
for(s;s;s;s;s;s;s;s;s;s;s;s){s;(…)s?;qq qprint chr 0x$1 and \161
ssq;excess;}


#2

Thanks for the response.

Is there any better way to handle this?
What is causing the problem?

The people I am doing the install for will not like me telling them that
they have to ssh into the box to chmod that file before they can create a
queue using the web interface…

TIA

Veaceslav Revutchi writes:

I ran into this too. What you have to do is chmod 755 suid_wrapper,
create the queue and chmod 4111 suid_wrapper back whenever you need a
new queue :slight_smile:

another issue I just noticed. Whenever I create a queue from the CLI I get
the following:

./rtadmin queue -create test2

Welcome to Request Tracker 1.0.7
Queue email alias (ex: support@example.com):rt-test2@host.net
Mail request owner on transaction [N]:
Mail queue members on transaction [N]:
Mail requestors on transaction [N]:
Autoreply to requestor on creation [N]:y
Mail correspondence to queue members [N]:y
Mail queue members on comment [N]:y
Allow non-queue members to create requests [N]:
Default request priority (1-100):1
Default final request priority (1-100):99
Are you satisfied with your answers [N]:y
cp: /usr/local/rt/etc/templates/queues/test2/web_create: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/comment: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/correspondence: Permission
denied
cp: /usr/local/rt/etc/templates/queues/test2/error: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/give: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/respond: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/steal: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/transaction: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/autoreply: Permission denied
Queue test2 sucessfully created.

the permissions on the files:

I know that the permissions were very deliberatly set during the install,
so I am not sure which set are correct. Also, you’ll note that I’m
currently logged in as root, so I cannot understand why it’d be having a
problem at all, unless the suid_wrapper is messed up…

thoughts?

Shane Allen shane@tacni.net

#!/usr/bin/perl -w
$_ = q;4a75737420616e6f74686572205065726c204861636b65720as;;
for(s;s;s;s;s;s;s;s;s;s;s;s){s;(…)s?;qq qprint chr 0x$1 and \161
ssq;excess;}


#3

ben@apache-ssl.com (org?) posted patches to rt-users sometime in the past month.Check the archives.On Sun, May 20, 2001 at 05:51:42PM +0000, Shane Allen wrote:

Thanks for the response.

Is there any better way to handle this?
What is causing the problem?

The people I am doing the install for will not like me telling them that
they have to ssh into the box to chmod that file before they can create a
queue using the web interface…

TIA

Veaceslav Revutchi writes:

I ran into this too. What you have to do is chmod 755 suid_wrapper,
create the queue and chmod 4111 suid_wrapper back whenever you need a
new queue :slight_smile:

On Sun, May 20, 2001 at 12:02:47PM +0000, Shane Allen wrote:

another issue I just noticed. Whenever I create a queue from the CLI I get
the following:

./rtadmin queue -create test2

Welcome to Request Tracker 1.0.7
Queue email alias (ex: support@example.com):rt-test2@host.net
Mail request owner on transaction [N]:
Mail queue members on transaction [N]:
Mail requestors on transaction [N]:
Autoreply to requestor on creation [N]:y
Mail correspondence to queue members [N]:y
Mail queue members on comment [N]:y
Allow non-queue members to create requests [N]:
Default request priority (1-100):1
Default final request priority (1-100):99
Are you satisfied with your answers [N]:y
cp: /usr/local/rt/etc/templates/queues/test2/web_create: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/comment: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/correspondence: Permission
denied
cp: /usr/local/rt/etc/templates/queues/test2/error: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/give: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/respond: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/steal: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/transaction: Permission denied
cp: /usr/local/rt/etc/templates/queues/test2/autoreply: Permission denied
Queue test2 sucessfully created.

the permissions on the files:

I know that the permissions were very deliberatly set during the install,
so I am not sure which set are correct. Also, you’ll note that I’m
currently logged in as root, so I cannot understand why it’d be having a
problem at all, unless the suid_wrapper is messed up…

thoughts?


Shane Allen shane@tacni.net

#!/usr/bin/perl -w
$_ = q;4a75737420616e6f74686572205065726c204861636b65720as;;
for(s;s;s;s;s;s;s;s;s;s;s;s){s;(…)s?;qq qprint chr 0x$1 and \161
ssq;excess;}


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

There are no supercomputer applications that are solvable that cannot be solved
in finite time using a fucking TRS-80 with approprite disk/tape drives. Zero.
-Tanj