ShowPerm.pl is a script that I know works, and is in the same directory as the script. It seems like I may have to read in the ACL of the file and see if I'm in a group that has the appropriate level of access to that file. However, it can be a catch-22, as if I don't even have the ability to list the file, I wouldn't be able to check the ACLs on it, either. Besides, it just seems like a clumsy process with a lot of overhead. What would you all suggest?my $filename = 'ShowPerm.pl'; if ( -x $filename ) { print "Filename $filename is executable \n"; }
-- Burvil
In reply to Win32 File tests, pathnames by bowei_99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |