• 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: LD <email@hidden>
  • Date: Fri, 12 Aug 2005 14:08:46 +1000

Hi there,

On 12/08/2005, at 7:33 AM, Helge Städtler wrote:

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".

DO NOT do that. There is one practical alternative - "B" - and it's recursive :-)


Several people will now start crying...

shocked in fact at such a suggestion ;-)

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?

Why indeed?! The assumption suggested is that there is NO possibility of error. Not a safe assumption.


A rodent bug in your own code, Apache's, etc etc (or even Apple's), for example, may allow some arbitrary code to snuff your system. That's not worth the risk when alternative B is simple to do...

That's the whole idea of permissions - not only do they keep out the nasties but they act as a safe-guard for internal activities as well. Diverge from the path at your own risk. But don't it....

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.

Ahh, the way of wisdom ;-)

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

I'd prefer not to have to lock-unlock my house/car every time I go out...


with regards,
--

LD

_______________________________________________
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:
    • Re: Permission rights on servers and managing them without hassle [was File Upload Permission denied]
      • From: Helge Städtler <email@hidden>
References: 
 >Re: File Upload Permission denied (From: Helge Städtler <email@hidden>)

  • Prev by Date: Re: can't open projects in Xcode
  • Next by Date: Root permissions on servers [was: Re: File Upload Permission denied]
  • Previous by thread: Re: File Upload Permission denied
  • Next by thread: Re: Permission rights on servers and managing them without hassle [was File Upload Permission denied]
  • Index(es):
    • Date
    • Thread