bugGPSD - Bugs: bug #46934, gpsd 3.16 has wrong permissions on...

 
 

bug #46934: gpsd 3.16 has wrong permissions on gpsprof

Submitted by:  Fred Wright <fhgwright>
Submitted on:  Wed 20 Jan 2016 02:45:46 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eric S. Raymond <esr>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 20 Jan 2016 02:45:46 AM UTC, original submission:

While testing a MacPorts update for gpsd 3.16, I ran across a permissions problem on gpsprof. It's set to 700 in the tarball, and since "scons install" copies it verbatim, it winds up 700 as installed, and hence unrunnable by non-root.

It appears that this particular file changed from 755 in 3.14 (probably the intended setting) to 775 in 3.15, and then 700 in 3.16.

There are several other files with user-only permissions, though (with the possible exception of contrib/webgps.py) the others are all either sources or regression test data, and thus don't cause operational problems. This problem seems to exist (though with mostly different files) in both the 3.15 tarballs and 3.16 tarballs, but not 3.14:

MacPro:gpsd fw$ tar -tvzf gpsd-3.16.tar.gz |grep '^-r..------ '
-rw------- 0 esr esr 21699 Jan 4 12:48 gpsd-3.16/build.txt
-rwx------ 0 esr esr 10956 Apr 28 2015 gpsd-3.16/contrib/webgps.py
-rwx------ 0 esr esr 17868 Aug 29 08:58 gpsd-3.16/gpsprof
-rw------- 0 esr esr 54849 Jan 5 19:28 gpsd-3.16/libgpsd_core.c
-rw------- 0 esr esr 2922 Jul 19 2015 gpsd-3.16/test/daemon/gr8013-w.log
-rw------- 0 esr esr 2414 Jul 19 2015 gpsd-3.16/test/daemon/hab-gpspi.log
-rw------- 0 esr esr 8169 Jan 4 21:54 gpsd-3.16/test/daemon/nl2008u.log
MacPro:gpsd fw$ tar -tvzf gpsd-3.15.tar.gz |grep '^-r..------ '
-rw------- 0 esr esr 15208 May 31 2015 gpsd-3.15/INSTALL
-rwx------ 0 esr esr 10956 Apr 28 2015 gpsd-3.15/contrib/webgps.py
-rw------- 0 esr esr 12255 May 31 2015 gpsd-3.15/gps2udp.c
-rw------- 0 esr esr 25066 May 31 2015 gpsd-3.15/gpsctl.c
-rw------- 0 esr esr 75576 Jun 1 2015 gpsd-3.15/gpsd.c
-rw------- 0 esr esr 54755 May 31 2015 gpsd-3.15/libgpsd_core.c
-rw------- 0 esr esr 24447 May 31 2015 gpsd-3.15/serial.c
MacPro:gpsd fw$ tar -tvzf gpsd-3.14.tar.gz |grep '^-r..------ '
MacPro:gpsd

Maybe there should be a pre-release script to check and/or repair the file permissions prior to building the release tarball.

Fred Wright <fhgwright>
Project Member

 

(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 esr (Updated the item)
  • -unavailable- added by fhgwright (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Sep 2017 04:33:43 AM UTCesrOpen/ClosedOpen=>Closed
    Thu 21 Jan 2016 06:45:26 PM UTCesrStatusNone=>Fixed
      Assigned toNone=>esr

    Back to the top


    Powered by Savane 3.1-cleanup1