Re: ImageMagick on OSX

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52806
interpreted = N
texte = The file is owned by 503 and the group is staff. You can try changing the owner to the same as the webstar. If you are logging into the terminal from the desktop you are logging in as the user that logged onto the machine At command line type whoami and you will see who you are logged in as. Normally it is shown on the terminal window: [servername~] username# >From commandline type su 503 and the run the same command (/usr/local/bin/convert -geometry x104 /Library/WebServer/Documents/websitename/someimage.jpg /Library/WebServer/Documents/websitename/someNEWimage.jpg) It should work.If it does all you need to do is set a sudo for the Webstar user to run as 503. then use [shell]sudo convertcommandhere[/shell] ----- Original Message ----- From: "World Wide Art" To: "WebDNA Talk" Sent: Thursday, September 11, 2003 4:52 PM Subject: Re: ImageMagick on OSX > >The easiest way is to log onto the termail and "cd /usr/local/bin/" and do a > >"ls -l" and see who owns the file. > > I get: > -rwxr-xr-x 1 503 staff 1349 Jul 23 06:20 Magick++-config > and more lines with the same structure. > > Does that mean the owner is 'staff' ? > > >But like I was trying to say (and I did not realise webstar, my pathes are > >for apache) run the convert from the commandline and see if you get an > >error. If not then change to the user that WebStar is running as and try it > >and see if you get an error. This is what was happening to us and we had to > >setup sudo. > > When I type: > /usr/local/bin/convert -geometry x104 > /Library/WebServer/Documents/websitename/someimage.jpg > /Library/WebServer/Documents/websitename/someNEWimage.jpg > into the terminal it works fine. It created the file. > > I think the terminal runs under the same user as WebStar. > > Thanks, > David. > > ------------------------------------------------------------- > 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: ImageMagick on OSX ( Palle Bo Nielsen 2003)
  2. Re: ImageMagick on OSX ( World Wide Art 2003)
  3. Re: ImageMagick on OSX ( "WebDna @" 2003)
  4. Re: ImageMagick on OSX ( World Wide Art 2003)
  5. Re: ImageMagick on OSX ( "WebDna @" 2003)
  6. Re: ImageMagick on OSX ( World Wide Art 2003)
  7. Re: ImageMagick on OSX ( World Wide Art 2003)
  8. Re: ImageMagick on OSX ( "WebDna @" 2003)
  9. Re: ImageMagick on OSX ( Paul Willis 2003)
  10. Re: ImageMagick on OSX ( World Wide Art 2003)
  11. Re: ImageMagick on OSX ( Bob Minor 2003)
  12. Re: ImageMagick on OSX ( Jesse Williams-Proudman 2001)
  13. ImageMagick on OSX ( World Wide Art 2003)
The file is owned by 503 and the group is staff. You can try changing the owner to the same as the webstar. If you are logging into the terminal from the desktop you are logging in as the user that logged onto the machine At command line type whoami and you will see who you are logged in as. Normally it is shown on the terminal window: [servername~] username# >From commandline type su 503 and the run the same command (/usr/local/bin/convert -geometry x104 /Library/WebServer/Documents/websitename/someimage.jpg /Library/WebServer/Documents/websitename/someNEWimage.jpg) It should work.If it does all you need to do is set a sudo for the Webstar user to run as 503. then use [shell]sudo convertcommandhere[/shell] ----- Original Message ----- From: "World Wide Art" To: "WebDNA Talk" Sent: Thursday, September 11, 2003 4:52 PM Subject: Re: ImageMagick on OSX > >The easiest way is to log onto the termail and "cd /usr/local/bin/" and do a > >"ls -l" and see who owns the file. > > I get: > -rwxr-xr-x 1 503 staff 1349 Jul 23 06:20 Magick++-config > and more lines with the same structure. > > Does that mean the owner is 'staff' ? > > >But like I was trying to say (and I did not realise webstar, my pathes are > >for apache) run the convert from the commandline and see if you get an > >error. If not then change to the user that WebStar is running as and try it > >and see if you get an error. This is what was happening to us and we had to > >setup sudo. > > When I type: > /usr/local/bin/convert -geometry x104 > /Library/WebServer/Documents/websitename/someimage.jpg > /Library/WebServer/Documents/websitename/someNEWimage.jpg > into the terminal it works fine. It created the file. > > I think the terminal runs under the same user as WebStar. > > Thanks, > David. > > ------------------------------------------------------------- > 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/ "WebDna @"

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:

fieldType=num (1997) Error & Problem (1997) ThreadMem ignored? (1998) Loosing Quantity (2000) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Bug Report, maybe (1997) sorting and summarizing (1998) PROBLEM (1997) WebMerchant email template format? (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) finding child records of child records of child records... with minimal code (2000) .tmp files (2000) [WebDNA] Small Parsing Problem (2009) [ConvertChars] problem (1997) converting tabs (1997) encrypted query string trouble on OSX (2001) WebCat2b12 CGI Mac - [shownext] problem (1997) Search in 2 or more catalogs (1997) PIXO support (1997) Cold Fusion Buster (1997)