Package permissions

Hi,

I ungzipped, untarred the rt-3.0.10.tar.gz file, then i ran “./configure
–with-db-port=3306 --with-web-user=apache --with-web-group=apache”.
Then i tried to run “perl sbin/rt-test-dependencies --with-mysql
–with-fastcgi”, but there is not execute permission on the
“rt-test-dependencies” file. I downloaded rt-3.0.9.tar.gz (3.0.8 too)and
unpacked them. In this packages are the same files, but with reverse
execute permissions. Is this ok, or do i have to run
“rt-test-dependencies.in” instead.

Thanks for help.

Peter.

Peter Jamri�ko wrote:

Hi,

I ungzipped, untarred the rt-3.0.10.tar.gz file, then i ran “./configure
–with-db-port=3306 --with-web-user=apache --with-web-group=apache”.
Then i tried to run “perl sbin/rt-test-dependencies --with-mysql
–with-fastcgi”, but there is not execute permission on the
“rt-test-dependencies” file. I downloaded rt-3.0.9.tar.gz (3.0.8 too)and
unpacked them. In this packages are the same files, but with reverse
execute permissions. Is this ok, or do i have to run
“rt-test-dependencies.in” instead.
You don’t want to run *.in files. If your rt-test-dependencies.in has
x flag but rt-test-dependencies has no then something wrong with
configure script because it should preserve permissions when do .in->
convertion.

		Best regards, Ruslan.

If you unpack 3.0.9 or 3.0.8. or 3.0.6 version of RT, you will see no x
flag in any file under /sbin directory. Only in rt 3.0.10 there are
files in /sbin directory with x flag already set. May be ./configure
script does just reverse change of x flag and not change from “non-x” to
"x". It means that if I run ./configure, it will only change x flag for
files “rt-setup-database” and “rt-test-dependencies” from “x” to
"non-x". Size and file names of all the files under /sbin will be the
same as befor “./configure”.

Is there anybody who can just unpack rt-3.0.10 and run ./configure and
then try to check file permission on “/sbin/rt-test-dependencies” fiel,
if it has “x” flag?

Thanks.
Peter

Ruslan U. Zakirov wrote:

clean, just untared ball, before configure:
-rwxr-x–x 1 cubic cubic 18036 Ноя 26 06:32 rt-setup-database
-rwxr-x–x 1 cubic cubic 18030 Ноя 26 06:32 rt-setup-database.in
-rwxr-x–x 1 cubic cubic 5804 Фев 13 21:21 rt-test-dependencies
-rwxr-x–x 1 cubic cubic 5797 Фев 13 21:21 rt-test-dependencies.in

after configure
-rw-rw-r-- 1 cubic cubic 18036 Май 17 16:03 rt-setup-database
-rwxr-x–x 1 cubic cubic 18030 Ноя 26 06:32 rt-setup-database.in
-rw-rw-r-- 1 cubic cubic 5804 Май 17 16:03 rt-test-dependencies
-rwxr-x–x 1 cubic cubic 5797 Фев 13 21:21 rt-test-dependencies.in

permissions are broken. it isn’t big trouble couse you always can use
perl rt-setup-database

pathc attached which fix this for you and other. I don’t how it was
working in old versions.

FYI, there is upcoming 3.0.11 soon.

		Best regards. Ruslan.

Peter Jamriško wrote:

cofnfigure_preserve_x_flag.patch (353 Bytes)

Thanks for help

It was my fault, I didn’t put “perl” before “sbin/rt-test-dependencies”…

Thanks again, Ruslan

Peter

Ruslan U. Zakirov wrote: