RE: unable to create any directory that uses numbers as thedirectory name



How about:

mkdir /abc
mv /abc /123

What's in var/log/messages, secure....

ls -l /bin/mkdir

Just throwing stuff out there.

Regards, Marshall

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Madan Thapa
Sent: Thursday, September 20, 2007 12:46 PM
To: General Red Hat Linux discussion list
Subject: Re: unable to create any directory that uses numbers
as thedirectory name

root@server52 [~]# unalias mkdir
-bash: unalias: mkdir: not found
root@server52 [~]#


I already mentioned mkdir had no alias set.

Thanks

On 9/20/07, m.roth2006@xxxxxxx <m.roth2006@xxxxxxx> wrote:

Try this:
unalias mkdir

mark

---- Original message ----
Date: Thu, 20 Sep 2007 18:50:25 +0530
From: "Madan Thapa" <madan.feedback@xxxxxxxxx>
Subject: Re: unable to create any directory that uses numbers as the
directory name
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>

More info ................


Version-Release number of selected component (if applicable):
==================================================================
root@server [~]# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

root@server [~]# uname -a
Linux server.integrityserver.net 2.6.9-55.ELsmp #1 SMP Fri Apr 20
17:03:35 EDT
2007 i686 i686 i386 GNU/Linux
root@server [~]#


How reproducible:
======================

root@server [~]# mkdir 1
mkdir: cannot create directory `1': No such file or directory
root@server [~]# mkdir 12
mkdir: cannot create directory `12': No such file or directory
root@server [~]# mkdir 1a2
root@server [~]#



Actual results:
======================
mkdir: cannot create directory `1': No such file or directory


Expected results:
======================
should be able to create a directory

Additional Info:
==================
root@server [~]# ll $(which mkdir)
-rwxr-xr-x 1 root root 25060 Sep 19 15:46 /bin/mkdir*
root@server [~]# rpm -qf $(which mkdir)
coreutils-5.2.1-31.6
root@server [~]#
root@server [~]# mount -a
root@server [~]#
root@server [~]#alias | grep mk
root@server [~]#

FSType = ext3


Thanks




On 9/20/07, Madan Thapa <madan.feedback@xxxxxxxxx> wrote:

All was working fine.. this issue came to notice
yesterday. Anybody had
such experience and any fix please?





On 9/20/07, Bill Tangren < bjt@xxxxxxxxxxxxx> wrote:

Madan Thapa wrote:
Hello,


unable to create any directory that uses numbers as
the directory
name


root@server [~]# mkdir 123
mkdir: cannot create directory `123': No such file or
directory
root@server [~]# mkdir 0
mkdir: cannot create directory `0': No such file or directory


Filesystem is not in readonly mode becasue I can
create dir with a
mix
of
numbers and aplhabets.

root@server [~]# mkdir 1ab
root@server [~]#


Please advise.

[root@mach2 ~]# mkdir 123
[root@mach2 ~]# ls -ld 123
drwx------ 2 root root 4096 Sep 20 09:09 123
[root@mach2 ~]#

I can. Not sure why you cannot.


--
redhat-list mailing list
unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



--
redhat-list mailing list
unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: need help with bash command
    ... Bob McGowan a écrit: ... In fact, first, I used to do this, because I seldomly use all files in a single directory, but often a pattern in a whole tree with find, second because there was a "ls" in the original problem and third because I did not optimize the command;-) ... I'm sure it is possible to replace the "mkdir -p xxx; ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: mkdir no longer works
    ... Thank you for your replies. ... when I type mkdir directory-name or mkdir path ... Did you alias it? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mkdir no longer works
    ... when I type mkdir directory-name or mkdir path ... Did you alias it? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Rogue Directory
    ... few NFS mounts on it. ... As root, I typed "mkdir /thresh" and it worked, ... some odd permissions - e.g.: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: SOLVED: Software-RAID1 on sarge (AMD64)
    ... $ mkdir -p /mnt/newroot ... Umm, that's prevented by the -xdev option, isn't it? ... from udev. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)