in reply to Opening files to write in browser returns Permission denied
a script running in my browser
Do you mean a script running on your server as cgi called by the browser?
Or are you talking about some java/javascript actuality running in the browser
For as far as i know, perl doesnt run in a broswer
In the first case i would first wonder what userid/group the cgi is running under. You may be trying to write somewhere that your userid has access to, but the web-server does not
In the second case, i would kinda suggest you just give up. There is supposed to be a very restricted environment presented by the browser called "the sandbox" and most activity outside that is curtailed. A quick google search has again suggested that writing files under the browser is not easy, one suggested sending what you wanted to write back over tcpip to a server process/cgi that sends it back as a downloadable file the user can then accept.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Opening files to write in browser returns Permission denied
by Lady_Aleena (Priest) on May 03, 2017 at 00:47 UTC | |
by huck (Prior) on May 03, 2017 at 01:23 UTC | |
by Lady_Aleena (Priest) on May 05, 2017 at 07:26 UTC | |
by hippo (Archbishop) on May 05, 2017 at 08:09 UTC | |
by Anonymous Monk on May 03, 2017 at 16:33 UTC |