in reply to Re: automounted directory status
in thread automounted directory status

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/

Replies are listed 'Best First'.
Re^3: automounted directory status
by trippledubs (Deacon) on Jan 31, 2014 at 15:52 UTC
    [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.
        in the first ls nothing is there, in the second, there is. In the middle there is a perl -w, which tells me that the -w call mounted it. -w returns 1 indicating I have write permissions