mirror of
https://github.com/fspc/dswim.git
synced 2025-02-22 08:33:24 -05:00
Just makes sure that / doesn't print when checking rwx and for wx
This commit is contained in:
parent
ed2b3a79fb
commit
92d1ab60b2
8
swim
8
swim
@ -818,7 +818,7 @@ sub command {
|
|||||||
print STDERR "readable" if !-r $tmp;
|
print STDERR "readable" if !-r $tmp;
|
||||||
print STDERR "/" if !-r $tmp && !-w $tmp;
|
print STDERR "/" if !-r $tmp && !-w $tmp;
|
||||||
print STDERR "writable" if !-w $tmp;
|
print STDERR "writable" if !-w $tmp;
|
||||||
print STDERR "/" if !-w $tmp || !-r $tmp;
|
print STDERR "/" if (!-w $tmp || !-r $tmp) && !-x $tmp;
|
||||||
print STDERR "executable" if !-x $tmp;
|
print STDERR "executable" if !-x $tmp;
|
||||||
print STDERR " by your effective uid/gid\n";
|
print STDERR " by your effective uid/gid\n";
|
||||||
|
|
||||||
@ -826,7 +826,7 @@ sub command {
|
|||||||
print STDERR "readable" if !-r $tmp;
|
print STDERR "readable" if !-r $tmp;
|
||||||
print STDERR "/" if !-r $tmp && !-w $tmp;
|
print STDERR "/" if !-r $tmp && !-w $tmp;
|
||||||
print STDERR "writable" if !-w $tmp;
|
print STDERR "writable" if !-w $tmp;
|
||||||
print STDERR "/" if !-w $tmp || !-r $tmp;
|
print STDERR "/" if (!-w $tmp || !-r $tmp) && !-x $tmp;
|
||||||
print STDERR "executable" if !-x $tmp;
|
print STDERR "executable" if !-x $tmp;
|
||||||
print STDERR " by your effective uid/gid " .
|
print STDERR " by your effective uid/gid " .
|
||||||
"in $ENV{HOME}/.swim/swimrc\n";
|
"in $ENV{HOME}/.swim/swimrc\n";
|
||||||
@ -868,7 +868,7 @@ sub command {
|
|||||||
print STDERR "readable" if !-r $tmp;
|
print STDERR "readable" if !-r $tmp;
|
||||||
print STDERR "/" if !-r $tmp && !-w $tmp;
|
print STDERR "/" if !-r $tmp && !-w $tmp;
|
||||||
print STDERR "writable" if !-w $tmp;
|
print STDERR "writable" if !-w $tmp;
|
||||||
print STDERR "/" if !-w $tmp || !-r $tmp;
|
print STDERR "/" if (!-w $tmp || !-r $tmp) && !-x $tmp;
|
||||||
print STDERR "executable" if !-x $tmp;
|
print STDERR "executable" if !-x $tmp;
|
||||||
print STDERR " by your effective uid/gid\n";
|
print STDERR " by your effective uid/gid\n";
|
||||||
|
|
||||||
@ -876,7 +876,7 @@ sub command {
|
|||||||
print STDERR "readable" if !-r $tmp;
|
print STDERR "readable" if !-r $tmp;
|
||||||
print STDERR "/" if !-r $tmp && !-w $tmp;
|
print STDERR "/" if !-r $tmp && !-w $tmp;
|
||||||
print STDERR "writable" if !-w $tmp;
|
print STDERR "writable" if !-w $tmp;
|
||||||
print STDERR "/" if !-w $tmp || !-r $tmp;
|
print STDERR "/" if (!-w $tmp || !-r $tmp) && !-x $tmp;
|
||||||
print STDERR "executable" if !-x $tmp;
|
print STDERR "executable" if !-x $tmp;
|
||||||
print STDERR " by your effective uid/gid " .
|
print STDERR " by your effective uid/gid " .
|
||||||
"in $ENV{HOME}/.swim/swimrc\n";
|
"in $ENV{HOME}/.swim/swimrc\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user