in reply to automounted directory status

I tested -w on automounting directores in Solaris, Perl 5.8 and they automounted. Maybe something else is wrong.

Replies are listed 'Best First'.
Re^2: automounted directory status
by AlPaton (Novice) on Jan 31, 2014 at 15:28 UTC
    Can you post your evidence like this please: # ls -ld /u1/tmpint # is it mounted? dr-xr-xr-x 1 root root 1 Jan 30 11:33 /u1/tmpint/ # perl -e 'if ( -w "/u1/tmpint" ) { print "TRUE\n" } else { print "FALSE\n" }' FALSE # ls -ld /u1/tmpint # is it mounted? drwxrwxr-x 2506 root users 4365 Jan 31 10:27 /u1/tmpint/
      [root@server:/home] ls [root@server:/home] perl -e 'print -w "/home/shared"' 1[root@server:/home] ls shared [root@server:/home] umount shared [root@server:/home]
        Unfortunately that does not show me the directory permissions before and after to illustrate that it was unmounted before.