[rt-users] you guys will prolly get tired of hearing from me... ;)

Shane Allen shane at tacni.net
Sun May 20 08:02:47 EDT 2001


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 at example.com):rt-test2 at 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 at 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;}




More information about the rt-users mailing list