Re: migrating from MacOS to unix
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 35590
interpreted = N
texte = Mark - Some Unix's have broken implementation of SUID, and so Perl has a numberof ways to deal with that. You need to check to see if your Unix is oneof those, and whether Perl has been compiled to not allow SUID at all.For testing purposes, you can write a simple shell script and try tosee if that can be flagged SUID.John PeacockWebcat wrote:> > I haven't been able to get suid to work with perl, any hints. It just gives the typical configuration error message when I set the suid bit.> ml> > >The only thing I would add to Dale's message is that you should prepare> >now for how you are going to deal with updating databases/templates/etc> >on the Unix system. Most of the problems caused by file rights issues> >are actually related to people wanting to FTP their database over to the> >server and not change the file ownership once it gets there.> >> >WebCat, like virtually all *nix daemons, runs as a special user with> >very limited rights (usually called nobody). In order for the daemon to> >access your database files, it must own the file or be a member of the> >group that owns the file (I'm assuming -rw-rw----). It is generally a> >bad idea to give anyone else access to these files either, because that> >can have negative security consequences on the other daemons which run> >as nobody.> >> >Since you have a unix head (admin? guru?) in house, have her set up a> >staging area for you to upload into that is a match for the directory> >structure of your test area. Then have him create a suid script to move> >files from staging to test (and from test to live), so that you won't> >have to play with the rights all the time. I would give you my scripts,> >but I haven't written them yet (I'm still in love with WebSite ;~).> >> >John Peacock> >> >Dale LaFountain wrote:> >>> >> >Anyone have any ideas on how difficult it is to install WebCatalog on a unix> >> >system vs. say on MacOS. Let's say that there is a unix head in the shop and> >> >we have lots of MacOS experience and lots of experience with WebCatalog on> >> >MacOS. We want to move an application from MacOS to unix. What pitfalls are> >> >there and would a unix head and the WebCat docs be enough to make our way> >> >through an install?> >> >> >> >What flavors of unix does WebCat run on?> >> >> >> >Thanks> >> >> >> >scottie> >> >> >>> >> The biggest issues are with case sensitivity in your templates. All> >> file, include, and db references must match case with the filesystem.> >> On the MacOS, you can be lazy and get away with mixed case all over> >> the place, which bit us pretty badly when we tried to move our> >> templates over to MacOSX server.> >>> >> Other than that, most people seem to have problems getting> >> permissions tweaked correctly for webcat to play nice with db files> >> (although we didn't have that problem ourselves).> >>> >> As for platforms, Webcat runs on Linux (redhad and cobalt, I> >> believe), Solaris, and MacOSX server.> >>> >> I found the webcat unix docs sufficient to get things running, but> >> you definitely need someone with Unix and apache experience handy to> >> wade through all the configuration issues.> > >> > > -Dale> > > --> > >> > > Dale LaFountain> > > Vice President of Information Technology, WebMaster> > > Dark Horse Comics, Inc. mailto:dalel@darkhorse.com> > > Phone: 503-652-8815 x324 http://www.darkhorse.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://search.smithmicro.com/> > --> \|/> (. .)> _________________________ooO_(_)_Ooo_____________________________> Mark Lacas mailto:mark@lacas.com> Virtual Loft / Seattle HarborCam: http://www.loftcam.com/> SeattleStuff WebCommerce Community: http://www.seattlestuff.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Mark - Some Unix's have broken implementation of SUID, and so Perl has a numberof ways to deal with that. You need to check to see if your Unix is oneof those, and whether Perl has been compiled to not allow SUID at all.For testing purposes, you can write a simple shell script and try tosee if that can be flagged SUID.John PeacockWebcat wrote:> > I haven't been able to get suid to work with perl, any hints. It just gives the typical configuration error message when I set the suid bit.> ml> > >The only thing I would add to Dale's message is that you should prepare> >now for how you are going to deal with updating databases/templates/etc> >on the Unix system. Most of the problems caused by file rights issues> >are actually related to people wanting to FTP their database over to the> >server and not change the file ownership once it gets there.> >> >WebCat, like virtually all *nix daemons, runs as a special user with> >very limited rights (usually called nobody). In order for the daemon to> >access your database files, it must own the file or be a member of the> >group that owns the file (I'm assuming -rw-rw----). It is generally a> >bad idea to give anyone else access to these files either, because that> >can have negative security consequences on the other daemons which run> >as nobody.> >> >Since you have a unix head (admin? guru?) in house, have her set up a> >staging area for you to upload into that is a match for the directory> >structure of your test area. Then have him create a suid script to move> >files from staging to test (and from test to live), so that you won't> >have to play with the rights all the time. I would give you my scripts,> >but I haven't written them yet (I'm still in love with WebSite ;~).> >> >John Peacock> >> >Dale LaFountain wrote:> >>> >> >Anyone have any ideas on how difficult it is to install WebCatalog on a unix> >> >system vs. say on MacOS. Let's say that there is a unix head in the shop and> >> >we have lots of MacOS experience and lots of experience with WebCatalog on> >> >MacOS. We want to move an application from MacOS to unix. What pitfalls are> >> >there and would a unix head and the WebCat docs be enough to make our way> >> >through an install?> >> >> >> >What flavors of unix does WebCat run on?> >> >> >> >Thanks> >> >> >> >scottie> >> >> >>> >> The biggest issues are with case sensitivity in your templates. All> >> file, include, and db references must match case with the filesystem.> >> On the MacOS, you can be lazy and get away with mixed case all over> >> the place, which bit us pretty badly when we tried to move our> >> templates over to MacOSX server.> >>> >> Other than that, most people seem to have problems getting> >> permissions tweaked correctly for webcat to play nice with db files> >> (although we didn't have that problem ourselves).> >>> >> As for platforms, Webcat runs on Linux (redhad and cobalt, I> >> believe), Solaris, and MacOSX server.> >>> >> I found the webcat unix docs sufficient to get things running, but> >> you definitely need someone with Unix and apache experience handy to> >> wade through all the configuration issues.> > >> > > -Dale> > > --> > >> > > Dale LaFountain> > > Vice President of Information Technology, WebMaster> > > Dark Horse Comics, Inc. mailto:dalel@darkhorse.com> > > Phone: 503-652-8815 x324 http://www.darkhorse.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://search.smithmicro.com/> > --> \|/> (. .)> _________________________ooO_(_)_Ooo_____________________________> Mark Lacas mailto:mark@lacas.com> Virtual Loft / Seattle HarborCam: http://www.loftcam.com/> SeattleStuff WebCommerce Community: http://www.seattlestuff.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://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:
Protect (1997)
Error Messages Returned to User (1997)
inconsistent webcat calculation? (1997)
Web*SSL and WebCatalog (1997)
RequiredFields (2000)
using showpage and showcart commands (1996)
Upload and WebCat (1998)
Preventing Safari caching (2003)
[WebDNA] WebDNA future (2010)
Template Security error (1997)
[purchase] question (2000)
Duplicate Hell (1999)
Sorting Results (1999)
Enhancement Request for WebCatalog-NT (1996)
WebDNA Developers' Network ---- Thank you (2002)
[] Boxes in Safari (2004)
problems with 2 tags (1997)
WebDelivery downloads alias, not original ? (1997)
I'm new be kind (1997)
Who is doing sign-ups (1998)