I installed GNU Queue with the enable-root option and
started the queued daemon. Then tried a "queue -i -w -n
-- hostname" as a ordinary user which worked fine. The
only problem was, ownership of dev/tty was changed to
that user. (On linux)
On Solaris, the same thing occured except instead of
/dev/tty it changed /devices/pseudo/sy@0:tty, of
course.
I'm not certain what mistake I made. The only options I
gave to confiure were:
--enable-root --prefix=/usr/tmp
Thanks for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You may want to try again with a different prefix
directory. I am no
expert in the innards of queue, but the /usr/tmp directory
under both
Linux and Solaris is a symbolic link to /var/tmp, which has
the sticky
bit set. In Solaris type man sticky to find out more about
what that
does, but basically it affects the permissions of the files
under it.
- Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've added code a while back (which should now be in 1.40.1, and probably was in 1.30.1) that detects if this
bug occurs and has Queue print out an error message (rather than changing ownership of /usr/tmp.)
The problem is that the tty code isn't as portable as it should be.
I think QingLong moves in code from rxvt to try to make the tty code more portable, so perhaps this is
addressed. I am closing this as "out of date" and assinging it to QingLong to bring it to his attention if there
are further issues with this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=58178
Browser: Mozilla/4.7 [en] (X11; U; Linux 2.2.16 i686)
I installed GNU Queue with the enable-root option and
started the queued daemon. Then tried a "queue -i -w -n
-- hostname" as a ordinary user which worked fine. The
only problem was, ownership of dev/tty was changed to
that user. (On linux)
On Solaris, the same thing occured except instead of
/dev/tty it changed /devices/pseudo/sy@0:tty, of
course.
I'm not certain what mistake I made. The only options I
gave to confiure were:
--enable-root --prefix=/usr/tmp
Thanks for your help.
Logged In: YES
user_id=97568
Browser: Mozilla/4.73 [en] (X11; U; SunOS 5.7 sun4u)
segoave -
You may want to try again with a different prefix
directory. I am no
expert in the innards of queue, but the /usr/tmp directory
under both
Linux and Solaris is a symbolic link to /var/tmp, which has
the sticky
bit set. In Solaris type man sticky to find out more about
what that
does, but basically it affects the permissions of the files
under it.
- Mark
Logged In: YES
user_id=32209
I've added code a while back (which should now be in 1.40.1, and probably was in 1.30.1) that detects if this
bug occurs and has Queue print out an error message (rather than changing ownership of /usr/tmp.)
The problem is that the tty code isn't as portable as it should be.
I think QingLong moves in code from rxvt to try to make the tty code more portable, so perhaps this is
addressed. I am closing this as "out of date" and assinging it to QingLong to bring it to his attention if there
are further issues with this.