bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils-5.90: problem with "mkdir -p"


From: Nelson H. F. Beebe
Subject: coreutils-5.90: problem with "mkdir -p"
Date: Sat, 15 Oct 2005 15:05:17 -0600 (MDT)

A colleague reports about "mkdir -p" in coreutils-5.90:

        On Solaris, the /usr/local/bin/mkdir has a problem when used with the
        -p option:

        mkdir -p ~/.mozilla/firefox
        mkdir: cannot create directory `/u/class': Read-only file system

        This is done the first time that a user runs firefox.  Unfortunately,
        this prevents firefox from starting.

        This isn't the case with /usr/bin/mkdir.

Here's a further demo:

        sunfire% mkdir -p ~/.mozilla/frobnitz
        mkdir: cannot create directory `/u/guest': Read-only file system

        sunfire% touch foo
        # proves that filesystem is writable

        sunfire% touch ~/.mozilla/foo 
        # proves that directory is writable

        sunfire% mkdir -p ~/.mozilla/frobnitz
        mkdir: cannot create directory `/u/guest': Read-only file system
        # still fails

        sunfire% mkdir  ~/.mozilla/frobnitz  
        # works without -p

In these tests, the filesystem in question is automounted from a
Sun Solaris 8 fileserver to a Sun Solaris 9 client.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]