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

 
 

bug #46934: gpsd 3.16 has wrong permissions on gpsprof

Submitter:  Fred Wright <fhgwright>
Submitted:  Wed 20 Jan 2016 02:45:46 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  esr
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by esr (Updated the item)
  • -email is unavailable- added by fhgwright (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-07 esr Open/ClosedOpen Closed
    2016-01-21 esr StatusNone Fixed
        Assigned toNone esr

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code