Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chmod



I don't know why the former way doesn't work and the latter way does...
sorry, but the latter works anyway.

Maybe there is a bug in Runtime#exec (String []) ...?

On 2007/12/30, at 21:20, Michael Hall wrote:

>
> On Dec 30, 2007, at 2:15 AM, 中山 太雅 wrote:
>
>> 		bos.write (("chmod " + (recursive ? "-R " : "") + auth + " \"" + path.getCanonicalPath () + "\"\n").getBytes ("UTF-8"));
>
>
> Why is this successful? I would think the original unicode you had wouldn't convert in any straight forward way to UTF-8?
>
> Mike Hall        hallmike at att dot net
> http://www.geocities.com/mik3hall
> http://sourceforge.net/projects/macnative
>
>
>

=======================================================================
株式会社ベビーユニバース 開発部 中山 太雅

■PDF小説「5年後のベビーユニバース」下記よりダウンロード!
http://www.baby-universe.co.jp/company/dl.php?file=img/after5yearbu.pdf

・本社
〒251-0025 神奈川県藤沢市鵠沼石上1-13-13-304
Tel : 0466-55-3000  Fax : 0466-55-3001

・IV : イノベーションビレッジ
〒252-0816 神奈川県藤沢市遠藤4489番 212号室
Cel : 090-2422-1981(212号室内設置携帯)
=======================================================================

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: chmod (From: Kevin Ryan <email@hidden>)
 >Re: chmod (From: 中山 太雅 <email@hidden>)
 >Re: chmod (From: Michael Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.