Code Comments
Programming Forum and web based access to our favorite programming groups.hi all
i asked this yesterday, but there is no one answer me. i thought
maybe i hadn't discripted clear. here is the question: there is a
directory /root/user/aaa/bbb directory, and i give the directory
FilePermission ("/root/user/aaa/bbb", "read,write"); permission. does
that means the application can read and write in the subdirectory(/
root/user/aaa/bbb/ccc/touch.c).
thanks
best wish
Allen
Post Follow-up to this messageczp.opensource@gmail.com wrote:
> hi all
> i asked this yesterday,
It would be better to have made your second posting a reply to the
first. Now you have fragmented any answers you get.
> but there is no one answer me. i thought
> maybe i hadn't discripted clear.
I didn't answer because I didn't understand your question.
> here is the question: there is a
> directory /root/user/aaa/bbb directory, and i give the directory
> FilePermission ("/root/user/aaa/bbb", "read,write"); permission.
Do you mean java.io.FilePermission?
Do you refer to Java code running as an Applet or otherwise under a
Security Manager?
> does
> that means the application can read and write in the subdirectory(/
> root/user/aaa/bbb/ccc/touch.c).
"A permission object represents, but does not grant access to, a system
resource." - API documentation for java.io.FilePermission
I expect that if you explain more carefully what you are trying to
achieve, or provide a sample program, someone more knowledgeable will be
able to answer your question.
--
RGB
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.