アクセス権変更

| コメント(0) | トラックバック(0)
on run
	set curItem to choose folder with prompt "フォルダを選択"
	my chmod777(curItem)
end run

on open theList
	repeat with curItem in theList
		my chmod777(curItem)
	end repeat
end open

on chmod777(curItem)
	set myPath to POSIX path of curItem
	set cmdStr to "chmod -R 777 " & myPath
	do shell script cmdStr
end chmod777

トラックバック(0)

トラックバックURL: http://www.adg7.com/mt/mt-tb.cgi/12

Comments are nofollow setting

コメントする

エントリー一覧

OpenID対応しています OpenIDについて
Powered by Movable Type 7.902.0
漢字イラストロジック-脳トレ京
FREE ONLINE SUDOKU