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:

New Guestbook Source (1997) [WebDNA] Record click-thrus (2008) Date format question (1998) Making a secret cookie code in WebCat (2001) listfiles-looking for slick solution (1997) Monthly Reports (2000) date sorting and 'template (1997) includes and cart numbers (1997) Searching multiple Databases (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) same product in cart (1997) Protect and Serve (1999) Re(2): grep matching (2003) Shopping Cart Questions (1998) Site Search Concepts (2003) LookUp Tag (1997) Hiding HTML and page breaks (1997) converting tabs (1997) back button problem (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997)