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

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

    <bug>
          <bug_id>17309</bug_id>
          
          <creation_ts>2008-09-24 01:34:47 +0400</creation_ts>
          <short_desc>world-readable history: ~/.xmms/xmms.m3u</short_desc>
          <delta_ts>2008-09-24 19:38:00 +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>xmms</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="Michael Shigorin">mike</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>78586</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 01:34:47 +0400</bug_when>
    <thetext>xmms-1.2.11-alt3 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 .xmms/xmms.m3u 
-rw-r--r-- 1 imz imz 119 Авг  2 20:26 .xmms/xmms.m3u
$ 

Proof that it stores bits of history:

$ cat .xmms/xmms.m3u 
#EXTM3U
#EXTINF:3,nature1
/home/imz/bugreports/ogg-xmms-crash/WIN/Documents and Settings/User/Ðàáî÷èé ñòîë/nature1.wav
$ 

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>78588</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-09-24 01:42:06 +0400</bug_when>
    <thetext>The report should read:
 
But the file ~/.xmms/xmms.m3u which tracks the last played item is made world-readable.

Sorry for this cut-n-paste error!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78660</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2008-09-24 19:37:59 +0400</bug_when>
    <thetext>It&apos;s not history, it&apos;s data.  As owner might trat that differently (and as $HOME is 0700 by default), I don&apos;t think it&apos;s worth bothering upstream rather than fixing it locally with chmod(1) -- feeling no real need for that myself.

Anyone concerned, please come with a patch. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>