Re: Unix Webcat Permission - Suggestions

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29296
interpreted = N
texte = Note to SM:While testing this new install, I noticed that the [writefile] context is not using the correct owner/group. When using the Simple Examples link (/WebCatalog/Examples.tpl), the file created comes out like this:-rw-r--r-- 1 nobody root 34 Mar 20 08:35 test.htmlNow, you can argue that the world readable is acceptable (although I would prefer u=rw only), but clearly the nobody user should not belong to the root group under any circumstances. I think that the daemon is not setting a group at all for the file, so it is coming out as 0 instead of 99 (as it should). The good news is that if the file already exists and the rights and owner have been changed, the WebCat daemon does not overwrite with its view of reality.John Peacock ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: Unix Webcat Permission - Suggestions (jpeacock@univpress.com 2000)
  2. Re: Unix Webcat Permission - Suggestions (jpeacock@univpress.com 2000)
Note to SM:While testing this new install, I noticed that the [writefile] context is not using the correct owner/group. When using the Simple Examples link (/WebCatalog/Examples.tpl), the file created comes out like this:-rw-r--r-- 1 nobody root 34 Mar 20 08:35 test.htmlNow, you can argue that the world readable is acceptable (although I would prefer u=rw only), but clearly the nobody user should not belong to the root group under any circumstances. I think that the daemon is not setting a group at all for the file, so it is coming out as 0 instead of 99 (as it should). The good news is that if the file already exists and the rights and owner have been changed, the WebCat daemon does not overwrite with its view of reality.John Peacock ------------------------------------------------------------- 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 jpeacock@univpress.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:

WebCat 3.0 License for sale.... (2000) WebCat 4.0.1 (2000) Help with [LineItems] in [OrderFile] on ShoppingCart.tpl (2003) Rhapsody? (1997) Ampersands in database fields? (1998) Grep Question - NOT YET SOLVED (fwd) (2003) Orders coming up blank (2004) Country & Ship-to address & other fields ? (1997) [WebDNA] variable name limit - clarification (2009) docs for WebCatalog2 (1997) autocommit problem (1998) Re:2nd WebCatalog2 Feature Request (1996) SSL and WebCatalog (1997) Creating main- and sub-category search (1997) LetterRip and WebCat & more (1998) Help formatting search results w/ table (1997) More on the email templates (1997) Append error (2002) Plugin or CGI or both (1997) NetSplat and WebCat2 (1997)