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

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

    <bug>
          <bug_id>17308</bug_id>
          
          <creation_ts>2008-09-24 01:22:35 +0400</creation_ts>
          <short_desc>world-readable history: ~/.xine/xine-ui_old_playlist.tox</short_desc>
          <delta_ts>2014-11-05 20:16:41 +0300</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>xine-ui</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</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="Nobody&apos;s working on this, feel free to take it">nobody</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>78584</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 01:22:35 +0400</bug_when>
    <thetext>xine-ui-0.99.5-alt2 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 ~/.xine/xine-ui_old_playlist.tox which tracks the last played item is made world-readable:

$ l .xine/xine-ui_old_playlist.tox 
-rw-r--r-- 1 imz imz 107 Сен 24 01:13 .xine/xine-ui_old_playlist.tox
$ 

Proof that it stores bits of history:

$ cat .xine/xine-ui_old_playlist.tox 
# toxine playlist

entry {
	identifier = /WIN/Exped/mvi_0641.avi;
	mrl = /WIN/Exped/mvi_0641.avi;
};
# END
$ 

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>78585</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 01:24:23 +0400</bug_when>
    <thetext>Workaround: chmod go-r .xine/xine-ui_old_playlist.tox , the changed permissions are kept after that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148473</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:16:41 +0300</bug_when>
    <thetext>В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>