diff options
Diffstat (limited to 'dh_fixperms')
-rwxr-xr-x | dh_fixperms | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dh_fixperms b/dh_fixperms index da45ee64..809f2c31 100755 --- a/dh_fixperms +++ b/dh_fixperms @@ -126,6 +126,13 @@ foreach my $package (@{$dh{DOPACKAGES}}) { "-type f ! -perm 440 $find_options -print0", "2>/dev/null | xargs -0r chmod 440"); } + + # SMF methods should be executable. + if (-d "$tmp/lib/svc/method") { + complex_doit("find $tmp/lib/svc/method", + "-type f ! -perm 755 $find_options -print0", + "2>/dev/null | xargs -0r chmod 755"); + } } =head1 SEE ALSO |