Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt4-preview-feedback Archive, March 2007
[BUG] wrong permissions in "make install"


Message 1 in thread

I downloaded qt 4.3.0beta, ran ./configure;make;make install
All went fine till I tried running qmake:

Failure to read QMAKESPEC conf file
/usr/local/Trolltech/Qt-4.3.0beta/mkspecs/default/qmake.conf

I discovered the reason:

cd /usr/local/Trolltech/Qt-4.3.0beta/mkspecs; ls -l
total 216
drwx--S---  2 root staff 4096 Mar 21 20:13 aix-g++
drwx--S---  2 root staff 4096 Mar 21 20:13 aix-g++-64
drwx--S---  2 root staff 4096 Mar 21 20:13 aix-xlc
...
--- cut, the permissions are same for all subdirs ---
..
drwx--S---  2 root staff 4096 Mar 21 20:13 unixware-cc
drwx--S---  2 root staff 4096 Mar 21 20:13 unixware-g++
drwx--S---  2 root staff 4096 Mar 21 20:13 win32-g++

Seems the content of /usr/local/Trolltech/Qt-4.3.0beta/mkspecs is
installed with wrong permissions (basically unreadable for normal
users) The files inside the dirs are also unreadable by normal users.

for example:
-rw------- 1 root staff  489 2007-03-21 20:13 linux-g++-64/qmake.conf
-rw------- 1 root staff 1094 2007-03-21 20:13 linux-g++-64/qplatformdefs.h
-rw------- 1 root staff  260 2007-03-21 20:13 linux-g++/qmake.conf
-rw------- 1 root staff 4439 2007-03-21 20:13 linux-g++/qplatformdefs.h

I fixed it by chmodding that, but I think it shoud be fixed in the
dist. tarball too ...

Rest of the QT seems to be installed and running fine

Martni Petricek

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

Hi,
We are not able to reproduce the problem here.

Can you let us know about the permissions of mkspec files after you 
extracted them from the package? Does the folder in which you extracted 
contents into have the S bit set?

Girish

BH wrote:
> I downloaded qt 4.3.0beta, ran ./configure;make;make install
> All went fine till I tried running qmake:
> 
> Failure to read QMAKESPEC conf file
> /usr/local/Trolltech/Qt-4.3.0beta/mkspecs/default/qmake.conf
> 
> I discovered the reason:
> 
> cd /usr/local/Trolltech/Qt-4.3.0beta/mkspecs; ls -l
> total 216
> drwx--S---  2 root staff 4096 Mar 21 20:13 aix-g++
> drwx--S---  2 root staff 4096 Mar 21 20:13 aix-g++-64
> drwx--S---  2 root staff 4096 Mar 21 20:13 aix-xlc
> ...
> --- cut, the permissions are same for all subdirs ---
> ..
> drwx--S---  2 root staff 4096 Mar 21 20:13 unixware-cc
> drwx--S---  2 root staff 4096 Mar 21 20:13 unixware-g++
> drwx--S---  2 root staff 4096 Mar 21 20:13 win32-g++
> 
> Seems the content of /usr/local/Trolltech/Qt-4.3.0beta/mkspecs is
> installed with wrong permissions (basically unreadable for normal
> users) The files inside the dirs are also unreadable by normal users.
> 
> for example:
> -rw------- 1 root staff  489 2007-03-21 20:13 linux-g++-64/qmake.conf
> -rw------- 1 root staff 1094 2007-03-21 20:13 linux-g++-64/qplatformdefs.h
> -rw------- 1 root staff  260 2007-03-21 20:13 linux-g++/qmake.conf
> -rw------- 1 root staff 4439 2007-03-21 20:13 linux-g++/qplatformdefs.h
> 
> I fixed it by chmodding that, but I think it shoud be fixed in the
> dist. tarball too ...
> 
> Rest of the QT seems to be installed and running fine
> 
> Martni Petricek
> 
> To unsubscribe - send "unsubscribe" in the subject to 
> qt4-preview-feedback-request@xxxxxxxxxxxxx

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx