Package: fileutils Version: 5.2.1-2 Severity: normal -0-diasrv03:~$ mkdir -p /a/b/c/d -0-diasrv03:~$ mkdir -p /a/b/c/d -0-diasrv03:~$ mkdir /a/b/c/d mkdir: cannot create directory `/a/b/c/d': File exists -1-diasrv03:~$
I would like to test in a script if anything goes wrong creating this directory structure, for this I need to have an error returned. I am unsure if this is a feature request or a bug, but to not break older working methods i suggest adding an option like -pe (process Parents and return Error) to return the errorlevel/message that was generated creating the last directory. Frank IJskes -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing'), (90, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.14-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages fileutils depends on: ii coreutils 5.2.1-2.1 The GNU core utilities -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]