Hello, I do appreciate help on this issue! It seems to me that the directories /usr/share/pgsql/tsearch_data timezone and timezone_data - are not explicitly contained within in the RPM - are not configured by %defattr (defattr is -,root,root)
I did a quick search to see what the default behaviour is supposed to be when a directory is not explicitly configured, but came up empty so far. Sure enough, I have duplicated this scenario with a simple test RPM. CentOS 5 [r...@localhost ~]# rpm -i testy-1.0.0-0.noarch.rpm [r...@localhost ~]# ls -ld /opt/counterpath/eas/test drwxr-xr-x 2 root root 4096 Apr 21 09:00 /opt/counterpath/eas/test 5 CentOS 4 [r...@isotest ~]# rpm2cpio testy-1.0.0-0.noarch.rpm | cpio -tv -rw-r--r-- 1 root root 6 Apr 21 08:53 ./opt/counterpath/eas/test/testfile.txt 1 block [r...@isotest ~]# rpm -i testy-1.0.0-0.noarch.rpm [r...@isotest ~]# ls -ld /opt/counterpath/eas/test drwxr-x--- 2 root root 4096 Apr 21 08:59 /opt/counterpath/eas/test CentOS 5 installs the directory with drwxr-xr-x, whereas CentOS4 installs it with drwxr-x--- I don't think there should be any issue with explicitly specifying the directory in the RPM with a %dir directive. EG., %dir %attr(0755,root,root) /opt/counterpath/eas/test My test RPM now installs properly on CentOS 4: [r...@isotest nortel]# rpm2cpio testy-1.0.0-0.noarch.rpm | cpio -tv drwxr-xr-x 2 root root 0 Apr 21 08:53 ./opt/counterpath/eas/test -rw-r--r-- 1 root root 6 Apr 21 08:53 ./opt/counterpath/eas/test/testfile.txt 1 block [r...@isotest nortel]# rpm -i testy-1.0.0-0.noarch.rpm [r...@isotest nortel]# ls -ld /opt/counterpath/eas/test drwxr-xr-x 2 root root 4096 Apr 21 09:14 /opt/counterpath/eas/test Again, thank you for your time!!! Jamie Strachan -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs