Quantcast
Channel: Planet DTP@jp
Viewing all articles
Browse latest Browse all 4835

FORCE: [Dubious permissions]俺が悪いのか〜♪Adobeの間違いか〜♪

$
0
0

launchctl launchd

どうも、思ったようなパフォーマンスが出ないCS6
(いまさらCS6環境へ…って遅いわな…汗)

色々見ていると
ログに以下のような行を発見した
10.9x
com.adobe.PDApp.setup[0]: launchctl: Dubious permissions on file (skipping): /Library/LaunchDaemons/com.adobe.SwitchBoard.plist
com.apple.launchctl.LoginWindow[97]: launchctl: Dubious permissions on file (skipping): /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist


10.6x
com.apple.launchctl.Aqua[125]: launchctl: Dubious permissions on file (skipping): /etc/mach_init_per_user.d/com.adobe.SwitchBoard.monitor.plist
com.apple.launchctl.Aqua[129]: launchctl: Dubious permissions on file (skipping): /etc/mach_init_per_user.d/com.adobe.versioncueCS4.monitor.plist

launchctlがエラーを出していた

パーミッションが不正なので読み込まないよぉん♪ですと

内容は以下のパーミッションが不正だと

Website_image00260610_225727


Website_image00260610_225721


Website_image00260610_225733


「rw」の「6」ではダメで
「r」の「4」にしないとエラーになりますね.


(*
Adobe関連(とは限らないけど汗)の
launchctl用の設定ファイルのアクセス権を修正
要管理者権限
以下の内容のパーミッションを444に変更します
/Library/LaunchAgents
/Library/LaunchDaemons
~/Library/LaunchAgents
~/Library/LaunchDaemons
/private/etc/mach_init_per_user.d

*)

-----ユーザー名を取得
tellapplication"Finder"
settheUserNametoshort user nameof (system info) astext
endtell

------ユーザーのホームディレクトリ内の修正
try
do shell script"sudo chmod 444 /Users/" & theUserName& "/Library/LaunchAgents/*" withadministrator privileges
endtry
try
do shell script"sudo chmod 444 /Users/" & theUserName& "/Library/LaunchDaemons/*" withadministrator privileges
endtry

------ローカルドメインのディレクトリ内の修正
try
do shell script"sudo chmod 444 /Library/LaunchAgents/*" withadministrator privileges
endtry
try
do shell script"sudo chmod 444 /Library/LaunchDaemons/*" withadministrator privileges
endtry
------etcinit.d内の修正
try
do shell script"sudo chmod 444 /private/etc/mach_init_per_user.d/*" withadministrator privileges
endtry


「Fix_Dubious_permissions.rtf」をダウンロード

「Fix_Dubious_permissions.scpt.zip」をダウンロード



パフォーマンスの方は…気分の問題ね…気分の…汗

ただ
この修正をしてから『SwitchBoard』がハングしなくなった…ような気がする…気の問題ね


Viewing all articles
Browse latest Browse all 4835

Trending Articles