http://qa.mandrakesoft.com/show_bug.cgi?id=5185

           Product: coreutils
         Component: program
           Summary: rm -i won't work if certain environmental variables
                    related to Arabic are set.
           Product: coreutils
           Version: 5.0-6mdk
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: program
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


rm -i (or just rm since rm -i is an alias for rm by default in Mandrake) will not work 
due to 
certain environmental variables related to Arabic. If /etc/sysconfig/i18n contains 
LC_ALL=ar_SA.UTF-8, LC_ALL=ar, LC_MESSAGES=ar, ... or we export these variables 
manually, the rm -i command and other commands will be disabled!! 
 
[EMAIL PROTECTED] munzir]$ export LC_ALL=ar_SA.UTF-8 
[EMAIL PROTECTED] munzir]$ touch arabeyes 
[EMAIL PROTECTED] munzir]$ ls -l arabeyes 
-rw-r--r-- 1 munzir munzir 0 May 6 13:48 arabeyes 
[EMAIL PROTECTED] munzir]$ \rm -i arabeyes 
rm: remove regular empty file `arabeyes'? y 
[EMAIL PROTECTED] munzir]$ ls -l arabeyes 
-rw-r--r-- 1 munzir munzir 0 May 6 13:48 arabeyes 
[EMAIL PROTECTED] munzir]$ \rm arabeyes 
[EMAIL PROTECTED] munzir]$ ls -l arabeyes 
ls: arabeyes: No such file or directory

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to