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: Asking Advice
    ... Shell and Common Controls Versions ... backward and look for "\" and use GetAttrand MkDir to make a pure VB solution. ... Public Function MkDirs(ByVal Folder As String) As Boolean ... Dim fAs String ...
    (microsoft.public.vb.general.discussion)
  • 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: System-call problem
    ... and run from an MinGW-MSYS shell, ... the Unix-ish "mkdir" that you want. ... you might be able to avoid absolute paths by running a ... conditional compilation, you could read the paths from a configuration ...
    (comp.lang.fortran)