Created
February 23, 2009 21:00
-
-
Save jtimberman/69174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):001:0> File.stat("/dev/mapper/exportvg-testlv") | |
=> #<File::Stat dev=0xe, ino=2210485, mode=060660, nlink=1, uid=0, gid=6, rdev=0xfe03, size=0, blksize=4096, blocks=0, atime=Mon Feb 23 13:35:48 -0700 2009, mtime=Mon Feb 23 12:04:22 -0700 2009, ctime=Mon Feb 23 12:04:22 -0700 2009> | |
irb(main):002:0> File.stat("/dev/exportvg/testlv") | |
Errno::EACCES: Permission denied - /dev/exportvg/testlv | |
from (irb):2:in `stat' | |
from (irb):2 | |
from :0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment