[rt-users] templates don't get copied when creating new queue

Veaceslav Revutchi vr at dnt.md
Mon May 14 09:21:01 EDT 2001


hi

I did a clean install of 1.0.7 on FreeBSD 4.3 and whenever
I try ./rtadmin queue -create myqueue 
I get: 
cp: /usr/local/rt/etc/templates/queues/myqueue/autoreply: Permission denied
cp: /usr/local/rt/etc/templates/queues/myqueue/comment: Permission denied
cp: /usr/local/rt/etc/templates/queues/myqueue/correspondence: Permission denied
... and so on...

the problem is that rtadmin is suid to rt user and the myqueue
directory gets created as:
dr-xr-xr-x  2 rt  rt  512 Jan 18 08:19 myqueue

so the rt user has no permition to copy files into that directory.
The workaround is to chmod and remove the suid off the rtadmin, create 
the queue as root, then suid rtadmin back. 

Is there a way to fix this and how?

any advice greatly appreciated.

slava






More information about the rt-users mailing list