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: [EMAIL PROTECTED]  -
- 155 S 1400 E RM 233                       [EMAIL PROTECTED]  [EMAIL 
PROTECTED] -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to