Re: Permission denied?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55710
interpreted = N
texte = On Mon, 26 Jan 2004 dott@thedott.com wrote: > The "code" is very fundamental UNIX. File permissions will be one of the > very first items covered in even the most basic of manuals. > > Sounds like you should check the owner and group (WWW, apache, etc) before > making any file permission changes, making certain they are correct. > But here is the code that will change the file perms for you. > You will need to be logged in as root or SU. cd to the directory where the > .db is located. > type the following: > chmod 664 thefileyouwanttochange these are bad permissions. this command sets your db files to be readable by everybody which means that if somebody types the url to you db directly s/he will actual get the whole file rendered in the browser window. use: chmod 660 *.db and if you want to actually edit the db files manually change the group on the files to the group you belong to... > > > > > ----- Original Message ----- > From: "Ross Markbreiter" > To: "WebDNA Talk" > Sent: Monday, January 26, 2004 1:40 PM > Subject: Re: Permission denied? > > > > Ok, but how do I get that code to replace the entry? > > > > > > >Before you go too far with UNIX you should pick up and read a manual. > You > > >have the potential of unwittingly opening up huge security holes. > > > > > > > > >----- Original Message ----- > > >From: "Ross Markbreiter" > > >To: "WebDNA Talk" > > >Sent: Monday, January 26, 2004 12:35 PM > > >Subject: Re: Permission denied? > > > > > > > > > > No? How do you do that? do you have to for all .db files if we move > sites > > > > over from OS9 or is it a global general setting? > > > > Thanks > > > > > > > > >OSX is a unix based OS, did you make sure that the db file is world > > > > >writable? > > > > > > > > > >----- Original Message ----- > > > > >From: "Ross Markbreiter" > > > > >To: "WebDNA Talk" > > > > >Sent: Monday, January 26, 2004 2:19 PM > > > > >Subject: Permission denied? > > > > > > > > > > > > > > > > > > > > > > >Anyone know why permissin is denied error? > > > > > > > > > > > > When we enter data it gives this error > > > > > > > > > > > > > > > > > > > > > > > > Here is code, OSX v5.1 Apache > > > > > > > > > > > > [/showif] [showif [action]=Replace] [replace > > > > > > db=hostfees.db&eqSKUdatarq=[url][_sku][/url]][formvariables > > > > > > name=_&exact=F][getchars > > > > > > > > >start=2][name][/getchars]=[url][value][/url]&[/formvariables][/replace] > > > > > > Record Replaced > > > > > > > > > > > > > > > > > > Director Sales > > > > > > > > > > > > Ross F. Markbreiter > > > > > > > > > > > > Thewwwstores, Corp Dba > > > > > > The World Wide Web Store > > > > > > 31826D Village Center Dr. > > > > > > Westlake Village, Ca 91361 > > > > > > > > > > > > worldwidewebstore.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------- > > > > > > 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/ > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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:

    
  1. Re: Permission denied? ( Kalin Mintchev 2004)
  2. Re: Permission denied? ( Jesse Proudman 2004)
  3. Re: Permission denied? ( Ross Markbreiter 2004)
  4. Re: Permission denied? ( Kalin Mintchev 2004)
  5. Re: Permission denied? ( "Sal" 2004)
  6. Re: Permission denied? ( Kalin Mintchev 2004)
  7. Re: Permission denied? ( Gary Krockover 2004)
  8. Re: Permission denied? ( Ross Markbreiter 2004)
  9. Re: Permission denied? ( Kalin Mintchev 2004)
  10. Re: Permission denied? ( Gary Krockover 2004)
  11. Re: Permission denied? ( Kalin Mintchev 2004)
  12. Re: Permission denied? ( Ross Markbreiter 2004)
  13. Re: Permission denied? ( Gary Krockover 2004)
  14. Re: Permission denied? ( Brian Fries 2004)
  15. Re: Permission denied? ( Ross Markbreiter 2004)
  16. Re: Permission denied? ( Gary Krockover 2004)
  17. Re: Permission denied? ( Gary Krockover 2004)
  18. Re: Permission denied? ( Kalin Mintchev 2004)
  19. Re: Permission denied? ( Kalin Mintchev 2004)
  20. Re: Permission denied? ( 2004)
  21. Re: Permission denied? ( Ross Markbreiter 2004)
  22. Re: Permission denied? ( 2004)
  23. Re: Permission denied? ( Ross Markbreiter 2004)
  24. Re: Permission denied? ( "flingo" 2004)
  25. Re: Permission denied? ( Ross Markbreiter 2004)
  26. Re: Permission denied? ( "Jesse Crofoot" 2004)
  27. Permission denied? ( Ross Markbreiter 2004)
On Mon, 26 Jan 2004 dott@thedott.com wrote: > The "code" is very fundamental UNIX. File permissions will be one of the > very first items covered in even the most basic of manuals. > > Sounds like you should check the owner and group (WWW, apache, etc) before > making any file permission changes, making certain they are correct. > But here is the code that will change the file perms for you. > You will need to be logged in as root or SU. cd to the directory where the > .db is located. > type the following: > chmod 664 thefileyouwanttochange these are bad permissions. this command sets your db files to be readable by everybody which means that if somebody types the url to you db directly s/he will actual get the whole file rendered in the browser window. use: chmod 660 *.db and if you want to actually edit the db files manually change the group on the files to the group you belong to... > > > > > ----- Original Message ----- > From: "Ross Markbreiter" > To: "WebDNA Talk" > Sent: Monday, January 26, 2004 1:40 PM > Subject: Re: Permission denied? > > > > Ok, but how do I get that code to replace the entry? > > > > > > >Before you go too far with UNIX you should pick up and read a manual. > You > > >have the potential of unwittingly opening up huge security holes. > > > > > > > > >----- Original Message ----- > > >From: "Ross Markbreiter" > > >To: "WebDNA Talk" > > >Sent: Monday, January 26, 2004 12:35 PM > > >Subject: Re: Permission denied? > > > > > > > > > > No? How do you do that? do you have to for all .db files if we move > sites > > > > over from OS9 or is it a global general setting? > > > > Thanks > > > > > > > > >OSX is a unix based OS, did you make sure that the db file is world > > > > >writable? > > > > > > > > > >----- Original Message ----- > > > > >From: "Ross Markbreiter" > > > > >To: "WebDNA Talk" > > > > >Sent: Monday, January 26, 2004 2:19 PM > > > > >Subject: Permission denied? > > > > > > > > > > > > > > > > > > > > > > >Anyone know why permissin is denied error? > > > > > > > > > > > > When we enter data it gives this error > > > > > > > > > > > > > > > > > > > > > > > > Here is code, OSX v5.1 Apache > > > > > > > > > > > > [/showif] [showif [action]=Replace] [replace > > > > > > db=hostfees.db&eqSKUdatarq=[url][_sku][/url]][formvariables > > > > > > name=_&exact=F][getchars > > > > > > > > >start=2][name][/getchars]=[url][value][/url]&[/formvariables][/replace] > > > > > > Record Replaced > > > > > > > > > > > > > > > > > > Director Sales > > > > > > > > > > > > Ross F. Markbreiter > > > > > > > > > > > > Thewwwstores, Corp Dba > > > > > > The World Wide Web Store > > > > > > 31826D Village Center Dr. > > > > > > Westlake Village, Ca 91361 > > > > > > > > > > > > worldwidewebstore.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------- > > > > > > 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/ > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Kalin Mintchev

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:

Dr.Watson Error (1999) Signal Raised (1997) Pirated WebCat? NOT... (2003) HELP WITH DATES (1997) Reversed words (1997) GuestBook example (1997) What is the syntax for MIME type on Apache server? (2000) Semi-OT: Update forms not working remotely (2002) [SHOWIF] (1997) default error on NT? (1997) Fwd: Problems with Webcatalog Plug-in (1997) setting taxable to true (1997) Secure server question (1997) Re2: AAgghh!! Help, please. SSL strikes again. (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Tiny Store (1998) Showif, Hideif reverse logic ? (1997) More than one db with the same namn (was: WC2f3) (1997) [showif]/[hideif] question (1997) ConvertChars (2000)