Re: Append..... doesn't

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 32082
interpreted = N
texte = Once more:Unix file protections are a combination of the rights flags on the file and the directory the file is in. The user that WebCatalog runs under (nobody in Linux, ???www in OSX???) must have read/write access to all files as well as the directories those files are located in. No other user needs any access to the files; this will cause you some problems when you use ftp to upload files. You really need to have root access to manage WebCat under any Unix derivative. Hopefully the ISP version of WebCatalog will be out soon (don't hold your breath).To change the ownership of the files to nobody (www) use the following from the top level directory of each virtual host (or if they are all in a single heirarchy, from the one above all of them): chown -R nobody:nobody *That will change the owner (recursively) of all files (*) to nobody. To set the rights to read/write, use the following from the same location: chmod -R u=rw *This will change the file rights flags (recursively) to only include read and write by the files owner (user). These are the only rights that are required; you can use a more relaxed security, but this is the minimum and safest level.HTHJohn Peacockp.s. - I'd rather have a rock to wind the string around. I've already got a prosthetic forehead (for my real head). I can tell what you have been listening to...Bo Hess wrote: > > >Are you on a Unix platform? If so, is the owner set correctly for the > >database files? > > > >I had this problem for a while. John Peacock has posted great information > >on > >unix permissions here on the list. If you are on a unix (or unix-like) > >platform, I suggest you check the archives to look for his postings. > > I guess Mac OS X falls under that description. The problem disappeared when > I gave everyone permission to write to the file. I guess I'll have to go > tip toe through the archives and see if I can rustle up a meaty morsal on > UNIX permissions. I just might have to send John Peacock a golden shoe horn > (the kind with teeth) > > Forgive the sillyness, IT's 2:00AM and I've been stareing into this > electron gun too long. > > Thanks again for the input > > Bo------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Append..... doesn't (Bo Hess 2000)
  2. Re: Append..... doesn't (John Peacock 2000)
  3. Re: Append..... doesn't (Bo Hess 2000)
  4. Re: Append..... doesn't (dale@gmr.dresdner.net 2000)
  5. Re: Append..... doesn't (Bo Hess 2000)
  6. Re: Append..... doesn't (Bo Hess 2000)
  7. Re: Append..... doesn't (Mike Davis 2000)
  8. Re: Append..... doesn't (Bo Hess 2000)
  9. Re: Append..... doesn't (Kenneth Grome 2000)
  10. Re: Append..... doesn't (Bo Hess 2000)
  11. Re: Append..... doesn't (Mike Davis 2000)
  12. Re: Append..... doesn't (Bo Hess 2000)
  13. Re: Append..... doesn't (Kenneth Grome 2000)
  14. Re: Append..... doesn't (Kenneth Grome 2000)
  15. Re: Append..... doesn't (Mike Davis 2000)
  16. Re: Append..... doesn't (Bo Hess 2000)
  17. Re: Append..... doesn't (Bo Hess 2000)
  18. Re: Append..... doesn't (Mike Davis 2000)
  19. Re: Append..... doesn't (Mike Davis 2000)
  20. Re: Append..... doesn't (Bo Hess 2000)
  21. Re: Append..... doesn't (Derek C. 2000)
  22. Append..... doesn't (Bo Hess 2000)
Once more:Unix file protections are a combination of the rights flags on the file and the directory the file is in. The user that WebCatalog runs under (nobody in Linux, ???www in OSX???) must have read/write access to all files as well as the directories those files are located in. No other user needs any access to the files; this will cause you some problems when you use ftp to upload files. You really need to have root access to manage WebCat under any Unix derivative. Hopefully the ISP version of WebCatalog will be out soon (don't hold your breath).To change the ownership of the files to nobody (www) use the following from the top level directory of each virtual host (or if they are all in a single heirarchy, from the one above all of them): chown -R nobody:nobody *That will change the owner (recursively) of all files (*) to nobody. To set the rights to read/write, use the following from the same location: chmod -R u=rw *This will change the file rights flags (recursively) to only include read and write by the files owner (user). These are the only rights that are required; you can use a more relaxed security, but this is the minimum and safest level.HTHJohn Peacockp.s. - I'd rather have a rock to wind the string around. I've already got a prosthetic forehead (for my real head). I can tell what you have been listening to...Bo Hess wrote: > > >Are you on a Unix platform? If so, is the owner set correctly for the > >database files? > > > >I had this problem for a while. John Peacock has posted great information > >on > >unix permissions here on the list. If you are on a unix (or unix-like) > >platform, I suggest you check the archives to look for his postings. > > I guess Mac OS X falls under that description. The problem disappeared when > I gave everyone permission to write to the file. I guess I'll have to go > tip toe through the archives and see if I can rustle up a meaty morsal on > UNIX permissions. I just might have to send John Peacock a golden shoe horn > (the kind with teeth) > > Forgive the sillyness, IT's 2:00AM and I've been stareing into this > electron gun too long. > > Thanks again for the input > > Bo------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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:

iis 4.0 (1997) How can I Add several Items into the cart at once? (1997) OT: javascript for dynamic pulldowns? (1998) Suggestions (1998) Incrementing a number (1998) Emailer setup (1997) Remote delivery (1998) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Feature req. (2002) Fun with dates (1997) Date Bug (1998) my price won't move (1997) profiles (1999) File Upload (1997) [Include] within a .dna file *further weirdness* (2005) Cross-platform file locations? (2000) Not reading code (1997) WebCat2b13 Command Reference Doc error (1997) ShowIf variables (1997) How true is this? (1999)