Mailing Lists: Apple Mailing Lists

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

chmod



Hello.

I have a problem about "chmod" command.

I am trying to execute chmod command using java.lang.Process,
for example:

Process process = Runtime.getRuntime ().exec (
	new String [] {
		"chmod",
		"g+w",
		"/あいうえお.txt"
	}
);

but chmod command doesn't recognize NON-ASCII characters. Even if I
give NON-ASCII-ESCAPED characters like
/\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212.txt ,
it doesn't work.

Does anyone know a collect way?

Thank you.

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

■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: 
 >Weird inverted window (From: John Osborne <email@hidden>)
 >Re: Weird inverted window (From: Adrian Milliner <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.