Fw: Re: Error: Permision deny.

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62988
interpreted = N
texte = I read all the comments that were posted and have to say one can do it even easier. Since this is your development machine just go into your "WebCatalog Pref" file and change the user that WebDNA runs to your username. =20 Then there is no pain in the a.. with permissions and alike. :-) =20 Nitai -- Redakto CMS - Content Management that simply works Redakto eServices - Professional WebHelpDesk Redakto ImagePark - Innovative Asset Management ComputerOil=AE AG Neugutstrasse 66 8600 D=FCbendorf / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com =5F=5F=5F=5F=5F =20 From: Kenneth Grome [mailto:owner@kengrome.com] To: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] Sent: Fri, 09 Sep 2005 16:35:20 +0200 Subject: Re: Error: Permision deny. I forgot to mention that this problem is on the development server on=20 my desktop, not on a live server. One of the "pain in the ass" problems with webdna on MacOS X that's=20 running as a desktop development server is that webdna changes the db=20 files I create manually. It resets the permissions on these files so=20 the owner and group are both "www". This prevents me from manually=20 editing my db files (and it pisses me off because I always edit my=20 webdna db files manually during development). I figure that if I could add myself to the "www" group this would not=20 be a problem any more, because the "www" group can read and write to=20 these files, which means I can too -- after I'm in that group. Too bad= =20 I don't know how to make myself a member of the "www" group ... :( Anyone know how I can do this=3F Sincerely, Kenneth Grome www.kengrome.com On Sep 9, 2005, at 21:20, William DeVaul wrote: > 660 is probably ideal for you. The general idea is the least amount= =20 > of permissions needed to operate is the most secure you can be. > > Apache and WebDNA need to operate as the user www or httpd (depending= =20 > on your distribution of Linux). Then, just to make things confusing,= =20 > there is also a group called httpd or www. Your user needs to be a=20 > part of that group to r/w to those files. > > Here are some useful commands that one should read about and=20 > understand before using: > > ls -al (this will show the current directory with permissions and=20 > owners) > chown (this will allow one to change the ownership) > chmod (this will modify the permissions) > chgrp (this will allow one to add a user to a group) > > Try man ls or man chown to read more about the commands before using= =20 > them. I also recommend having a few good books on unix or linux. > > Bill > > > On Sep 9, 2005, at 1:59 AM, Frank Nordberg wrote: > >> William DeVaul wrote: >>> 666 is textbook insecure. >> >> Yes, but I think the general idea is to allow visitors to both access= =20 >> and add to/modify the data through WebDNA so there's gotta be a 6=20 >> there somewhere. Question is where does WebDNA fit in=3F owner=3F gro= up=3F=20 >> world=3F >> >> Who is this group anyway=3F I thought that parameter wasn't really=20 >> relevant at all for a reguar public web site. >> >>> The bits are given for read(4)/write(2)/execute(1). >> >> Thanks, I'll try to remember it now. I think the reason why I have to= =20 >> look it up every time is that the system seems to be the opposite of= =20 >> what one would intuively expect: "read" (the least intrusive action)= =20 >> for the lowest bit and "execute" (the riskiest one) for the highest. >> >> >> Frank Nordberg > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to:=20 > To switch to the DIGEST mode, E-mail to=20 >=20 > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 To switch to the DIGEST mode, E-mail to=20 Web Archive of this list is at: http://webdna.smithmicro.com/ =20 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
I read all the comments that were posted and have to say one can do it even easier. Since this is your development machine just go into your "WebCatalog Pref" file and change the user that WebDNA runs to your username. =20 Then there is no pain in the a.. with permissions and alike. :-) =20 Nitai -- Redakto CMS - Content Management that simply works Redakto eServices - Professional WebHelpDesk Redakto ImagePark - Innovative Asset Management ComputerOil=AE AG Neugutstrasse 66 8600 D=FCbendorf / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com =5F=5F=5F=5F=5F =20 From: Kenneth Grome [mailto:owner@kengrome.com] To: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] Sent: Fri, 09 Sep 2005 16:35:20 +0200 Subject: Re: Error: Permision deny. I forgot to mention that this problem is on the development server on=20 my desktop, not on a live server. One of the "pain in the ass" problems with webdna on MacOS X that's=20 running as a desktop development server is that webdna changes the db=20 files I create manually. It resets the permissions on these files so=20 the owner and group are both "www". This prevents me from manually=20 editing my db files (and it pisses me off because I always edit my=20 webdna db files manually during development). I figure that if I could add myself to the "www" group this would not=20 be a problem any more, because the "www" group can read and write to=20 these files, which means I can too -- after I'm in that group. Too bad= =20 I don't know how to make myself a member of the "www" group ... :( Anyone know how I can do this=3F Sincerely, Kenneth Grome www.kengrome.com On Sep 9, 2005, at 21:20, William DeVaul wrote: > 660 is probably ideal for you. The general idea is the least amount= =20 > of permissions needed to operate is the most secure you can be. > > Apache and WebDNA need to operate as the user www or httpd (depending= =20 > on your distribution of Linux). Then, just to make things confusing,= =20 > there is also a group called httpd or www. Your user needs to be a=20 > part of that group to r/w to those files. > > Here are some useful commands that one should read about and=20 > understand before using: > > ls -al (this will show the current directory with permissions and=20 > owners) > chown (this will allow one to change the ownership) > chmod (this will modify the permissions) > chgrp (this will allow one to add a user to a group) > > Try man ls or man chown to read more about the commands before using= =20 > them. I also recommend having a few good books on unix or linux. > > Bill > > > On Sep 9, 2005, at 1:59 AM, Frank Nordberg wrote: > >> William DeVaul wrote: >>> 666 is textbook insecure. >> >> Yes, but I think the general idea is to allow visitors to both access= =20 >> and add to/modify the data through WebDNA so there's gotta be a 6=20 >> there somewhere. Question is where does WebDNA fit in=3F owner=3F gro= up=3F=20 >> world=3F >> >> Who is this group anyway=3F I thought that parameter wasn't really=20 >> relevant at all for a reguar public web site. >> >>> The bits are given for read(4)/write(2)/execute(1). >> >> Thanks, I'll try to remember it now. I think the reason why I have to= =20 >> look it up every time is that the system seems to be the opposite of= =20 >> what one would intuively expect: "read" (the least intrusive action)= =20 >> for the lowest bit and "execute" (the riskiest one) for the highest. >> >> >> Frank Nordberg > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to:=20 > To switch to the DIGEST mode, E-mail to=20 >=20 > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to:=20 To switch to the DIGEST mode, E-mail to=20 Web Archive of this list is at: http://webdna.smithmicro.com/ =20 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ nitai@computeroil.com

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Nested vs conditional (1997) 2.0 Info (1997) Hard Questions ? (1997) Fun with dates (1997) [SHOWNEXT] Examples (1997) ConvertChars (1998) Html mails and Outlook Win 2000 (2001) FORMS: Returning a specific page (1997) Product Value Changes (2000) OT: MacAuthorize (2001) Multiple Pulldowns (1997) Online reference (1997) I forgot (1998) [searchString] (1997) Sorting a Search... (1998) Umm...about those log files? (Off Topic) (1997) Sorting (1998) Active Server Code... (1998) GuestBook example (1997) [SearchString] usage (1997)