• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: File Upload Permission denied
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Upload Permission denied


  • Subject: Re: File Upload Permission denied
  • From: Helge Städtler <email@hidden>
  • Date: Thu, 11 Aug 2005 23:33:38 +0200

hi.

this seems to be a classic unix-rights problem. good thing is its easy to
fix. bad thing, you will have to remember this and if you any time in the
future install your app on another machine this error will likely haunt you
again.

If you have not changed anything at the default WebObjects Deployment
Installation, your deployed application will run under the user "appserver"
or something like that.

alternative A:
if this user is not able to write in the directory you specified for the
upload, you get the error you report. there is one easy way to get rid of
all these problems: make your app run with "root"-user-rights instead of
"appserv"! this is done by changing ownership and group of the complete
wotaskd-folder somewhere in
"/System/Library/WebObjects/JavaApplications/wotaskd.woa" to "root / wheel".

Several people will now start crying...but hey, this will solve your
problem. Other get concerned about security, bla bla bla.... but since your
server is a server is a server... where should there be a securityproblem?

alternative B:
you could be the smart guy who simply changes the accessrights of the
directory where your files get uploaded to, to be owned by appserv. this
should help significantly.

regards,
helge

P.S.: I love root-rights so i would choose alternativ A.

Am 11.08.2005 19:39 Uhr schrieb "email@hidden" unter
<email@hidden> / On 11.08.2005 19:39 Uhr "email@hidden" wrote
using address <email@hidden>:

> when i run the application from xcode the upload works fine but when i
> deploy it on the server i get the following message. i'm uploading the
> files in one of the folders where my application files are located.
>
> Error:     java.lang.RuntimeException: Error creating temp file output
> stream: Permission denied
> Reason:
> Stack trace:
> File    Line#    Method    Package
> NA : Non applicable, JIT activated
>
> can anyone help identify what i could be possibly doing wrong. would
> really appreciate any help
>
> thanks
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Root permissions on servers [was: Re: File Upload Permission denied]
      • From: Michael Holtermann <email@hidden>
    • Re: File Upload Permission denied
      • From: LD <email@hidden>
References: 
 >File Upload Permission denied (From: email@hidden)

  • Prev by Date: Re: File Upload Permission denied
  • Next by Date: Please support flash full in WO 5.3
  • Previous by thread: Re: File Upload Permission denied
  • Next by thread: Re: File Upload Permission denied
  • Index(es):
    • Date
    • Thread