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:

Nesting format tags (1997) b12 cannot limit records returned and more. (1997) IIS4/WebCat3.0 Authentication (1999) [WriteFile] problems (1997) error message (1998) acrobat -> wc (1998) Digest for 4/18/97 (1997) Search / Results on unrecognized characters (2003) Authorize Net??? (2002) PIXO support (1997) Error Msg (1997) WCS Newbie question (1997) [TaxableTotal] - not working with AOL and IE (1997) webDNA on centos (2008) X etc.... (1999) Fwd: 502 Bad Gateway (1998) Bug Report, maybe (1997) Files not moved to EmailCompleted (2002) Odd request (2003) getting images' width/height (1998)