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



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.


An issue with local and charset perhaps?

I am able to create dir's and files with my LAN set as:

# echo $LANG
en_US.UTF-8



Also a shell difference perhaps? I have bash as shell:

# echo $SHELL
/bin/bash


Finally, what type of filesystem are you on?

Cheers,
Michael

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



Relevant Pages

  • Re: [patch] rc.d/tmp (silly mkdir usage)
    ... I don't see any reason to fork ... > file creation. ... > I just wonder why a new shell is forked for this test. ... Therefore mkdir was used as a work-around. ...
    (freebsd-hackers)
  • Re: futex strangeness in 2.6.23-mm1/UML
    ... mkdir /tmp/fuse ... in another shell: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Proposal for touch -x
    ... O_EXCL) at the shell level. ... mkdir, portable across all shells, or set -C, available on ksh, bash, zsh and all ... but you'd rather unportably modify touch? ... that emulates an external command). ...
    (comp.unix.programmer)
  • Re: Proposal for touch -x
    ... O_EXCL) at the shell level. ... mkdir, portable across all shells, or set -C, available on ksh, bash, zsh and all ... but you'd rather unportably modify touch? ... that emulates an external command). ...
    (comp.unix.shell)
  • Re: FORTH levels
    ... cat, mkdir, rm, mv, echo they have. ... Albert van der Horst, UTRECHT,THE NETHERLANDS ...
    (comp.lang.forth)