#15 make install: wrong permissions?

v0.7.x
open
CJP
5
2007-08-10
2007-08-09
Stefan Zidar
No

hi

steps to reproduce (it's funny, i thought the first time i installed it worked...)

1) make install
2) choose car: select eg ferrari spider
3) ustunts exits with "Error: cars/ferrarispider/wheel.glb does not contain any data"

seems that the permissions on several cars subdirs is set wrong?

ls -l
...
drwx------ 3 root root 216 Aug 9 11:47 ferrarispider
...

should be

drwxr-xr-x 3 root root 216 Aug 9 11:47 ferrarispider

this happens to some other car-dirs as well: diablo, ferrarif40, jeep, porsche911, porsche928, subaruimpreza, tford...
it is correct on f1 and lego, though.

can anyone approve this?

Discussion

  • CJP
    CJP
    2007-08-10

    Logged In: YES
    user_id=595430
    Originator: NO

    I can confirm it has the same permissions (rwx------) in the source folder. Strange, I thought that "make install" did a chmod on all installed data files. I'll have a look at it.

     
  • CJP
    CJP
    2007-08-10

    • assigned_to: nobody --> cornware-cjp
     
  • Tomas Groth
    Tomas Groth
    2007-08-10

    Logged In: YES
    user_id=844850
    Originator: NO

    I can confirm this issue, and I sound a solution.
    In the data/Makefile.am (or Makefile) the install part should look like this:

    install:
    $(mkinstalldirs) ${usdatadir}
    cp -r cars environment lang misc music textures textures.dat tiles track
    chmod -R go+rX ${usdatadir}/*