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

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

    <bug>
          <bug_id>19171</bug_id>
          
          <creation_ts>2009-03-13 15:19:25 +0300</creation_ts>
          <short_desc>mounts USB memory with shortname=lower and this makes case-sensitive programs not work</short_desc>
          <delta_ts>2009-03-15 14:50:09 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.1</product>
          <component>hal</component>
          <version>unspecified</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          
          
          <qa_contact name="qa-4.1@altlinux.org">qa-4.1</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87242</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-03-13 15:19:25 +0300</bug_when>
    <thetext>hal-0.5.11-alt14.M41.1 in Desktop 4.1

I inserted a USB flash memeory, and mounted it through the KDE menu. It has been mounted like this:

/dev/sdb1 on /media/disk type vfat (rw,nosuid,nodev,noatime,flush,uid=500,utf8,shortname=lower,fmask=117,quiet)

and this makes git-1.5.5.5-alt1 fail because it is sensitive to the case of .git/HEAD:

$ strace -fF git status
...
getcwd(&quot;/media/disk/my/mordvin/compilations&quot;..., 4096) = 36
access(&quot;.git/objects&quot;, X_OK)            = 0
access(&quot;.git/refs&quot;, X_OK)               = 0
lstat64(&quot;.git/HEAD&quot;, 0xbfa25644)        = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
access(&quot;.git/objects&quot;, X_OK)            = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
access(&quot;.git/objects&quot;, X_OK)            = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
access(&quot;.git/objects&quot;, X_OK)            = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
access(&quot;.git/objects&quot;, X_OK)            = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
access(&quot;.git/objects&quot;, X_OK)            = -1 ENOENT (No such file or directory)
access(&quot;./objects&quot;, X_OK)               = -1 ENOENT (No such file or directory)
chdir(&quot;..&quot;)                             = 0
write(2, &quot;fatal: Not a git repository\n&quot;..., 28fatal: Not a git repository
) = 28
exit_group(128)                         = ?
Process 12165 detached
$ 

Suggestion: shortname=winnt seems to be the most sensible option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87243</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-03-13 15:24:28 +0300</bug_when>
    <thetext>Workaround: add to /etc/fstab:

/dev/sdb1 /mnt/usbmem1 vfat user,rw,nosuid,nodev,noatime,flush,uid=500,utf8,shortname=winnt,fmask=117,quiet 0 0

and use it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87245</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-03-13 15:31:46 +0300</bug_when>
    <thetext>This isn&apos;t so on Lite 4.0.3: there, I was able to mount the USB memory through XFCE, and then use git on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87319</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2009-03-15 14:49:52 +0300</bug_when>
    <thetext>hal не занимается монтированием, он предоставляет только интерфейс для этого. опции монтирования определяет то что пользуется этим интерфейсом</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>