in reply to File Permission in a readable format.

Stat::lsMode, File::Stat::ModeString, ls, File::Stat::Ls
  • Comment on Re: File Permission in a readable format.

Replies are listed 'Best First'.
Re^2: File Permission in a readable format.
by Ace jr (Initiate) on Mar 12, 2012 at 21:21 UTC

    Thank you, I will look into it. This looks like Unix, will it work on a Windows 2008?

      Sure, why not, but windows permissions are much more complicated than that, so if

      $ ls -loanh C:\AUTOEXEC.BAT -rwxrwxrwx 1 0 394 2011-03-24 20:44 C:\AUTOEXEC.BAT
      satisfies, then it satisfies :)

      If it doesn't, there is always cacls/Win32::FileSecurity

      $ cacls C:\AUTOEXEC.BAT C:\AUTOEXEC.BAT BUILTIN\Administrators:F NT AUTHORITY\SYSTEM:F BUILTIN\Administrators:F BUILTIN\Users:R