<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>17307</bug_id>
          
          <creation_ts>2008-09-24 00:58:32 +0400</creation_ts>
          <short_desc>world-readable history: ~/.gqview/history</short_desc>
          <delta_ts>2010-06-03 19:27:42 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>gqview</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17310</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78583</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 00:58:32 +0400</bug_when>
    <thetext>gqview-2.1.5-alt1 from Lite 4.0.3

I assume the conventional policy towards history files is not to make them world-readable. (Example: ~/.bash_history is not
world-readable.)

But the file ~/.gqview/history is made world-readable:

$ l .gqview/history 
-rw-r--r-- 1 imz imz 852 Сен 20 03:46 .gqview/history
$ 

Expected: it isn&apos;t world-readable. Good example: ~/.mc/history is not world-readable:

$ l .mc
итого 28
drwx------ 28 imz imz 4096 Сен 23 23:15 ../
drwxr-xr-x  3 imz imz 4096 Сен 23 22:56 ./
-rw-r--r--  1 imz imz  353 Сен 23 22:56 filepos
-rw-------  1 imz imz  521 Сен 23 22:56 history
-rw-r--r--  1 imz imz 3433 Сен 23 22:56 ini
-rw-r--r--  1 imz imz   35 Сен 23 22:56 Tree
drwx------  2 imz imz 4096 Авг  1 19:24 cedit/
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78591</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 04:15:12 +0400</bug_when>
    <thetext>Workaround: chmod go-r .gqview/history ; after this, the changed permissions will be kept.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109684</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-06-03 19:27:42 +0400</bug_when>
    <thetext>gqview-2.1.5-alt5 -&gt; sisyphus:

* Thu Jun 03 2010 Sergey Kurakin &lt;kurakin@altlinux&gt; 2.1.5-alt5
- system pictogramms in the folders browsing area (closes #18172)
- default permissions for histfile are 0600 (closes #17307)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>