bugProject: Starfighter - Bugs: bug #45401, icons are installed with wron...

 
 

bug #45401: icons are installed with wron permission

Submitted by:  None
Submitted on:  Wed 24 Jun 2015 09:47:26 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 25 Jun 2015 01:44:35 AM UTC, comment #2:

OK, I take that back: that's not the only thing you need to do. Turns out ore1.png and ore3.png are not given read permission for non-owners on my system, and that is preserved in the tarfile, so you'll need to correct that as well. Also, you need to remove the existing starfighter data first:

sudo rm -r /usr/share/games/parallelrealities/

Anyway, it'll be all better in version 1.4.1.

Julie Marchant <onpon4>
Project Administrator
Thu 25 Jun 2015 12:36:44 AM UTC, comment #1:

Thanks for the report. Actually, what happened is the makefile was using the -p flag with cp, which preserves the owner and permissions of the file, not necessarily what you want. It's been fixed and the new makefile will be in version 1.4.1, but in the meantime, you can fix it yourself by modifying lines 41 and 42 to remove the -p option.

Julie Marchant <onpon4>
Project Administrator
Wed 24 Jun 2015 09:47:26 PM UTC, original submission:

gfx/ore{1,3}.png are only readable by the user (usually root). This leads to an error when trying to start. All other icons are correct.

pwd && ls -al|grep ore
/tmp/makepkg/starfighter/src/starfighter-1.4-src/gfx
-rw------- 1 boenki users 803 27. Feb 17:36 ore1.png
-rw-r--r-- 1 boenki users 827 27. Feb 17:31 ore2.png
-rw------- 1 boenki users 810 27. Feb 17:38 ore3.png

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by onpon4 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Jun 2015 12:36:44 AM UTConpon4StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1