Re: [WebDNA] server admin newbie: what does webdna need owner to be to allow writing?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105456
interpreted = N
texte = > In my local fastcgi 7 install (MacTel 10.5.8) I am unable > to write to my test db. It's probably a permissions issue. It usually is. > I assume I need to change the owner of the db (and > it's dir/?) .. but to what? Often it is not necessary to change the owner of a file. As an alternative you can sometimes put the webdna user into the group that currently owns it. Then webdna can write to the file -- because it is in the owner's group. This assumes that group write access is enabled, which it is if the number in the middle position of your permissions is 6 or 7 -- such as 666 or 775. I think the middle number must be 7 for folders but it can be 6 or 7 for files. This technique is especially useful when uploading files owned by a user other than webdna -- because you only have to put the webdna user into the owner's group once. From then on all files uploaded by the same owner can be written to by webdna. Sincerely, Kenneth Grome Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (Govinda 2010)
  2. Re: [WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (Kenneth Grome 2010)
  4. [WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (Govinda 2010)
> In my local fastcgi 7 install (MacTel 10.5.8) I am unable > to write to my test db. It's probably a permissions issue. It usually is. > I assume I need to change the owner of the db (and > it's dir/?) .. but to what? Often it is not necessary to change the owner of a file. As an alternative you can sometimes put the webdna user into the group that currently owns it. Then webdna can write to the file -- because it is in the owner's group. This assumes that group write access is enabled, which it is if the number in the middle position of your permissions is 6 or 7 -- such as 666 or 775. I think the middle number must be 7 for folders but it can be 6 or 7 for files. This technique is especially useful when uploading files owned by a user other than webdna -- because you only have to put the webdna user into the owner's group once. From then on all files uploaded by the same owner can be written to by webdna. Sincerely, Kenneth Grome Kenneth Grome

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:

filtering extra characters from credit card numbers (2001) Fun with dates (1997) Signal Raised Error (Part III) (1997) Loss in form (1998) writefile - continued (1997) email [title] (1997) New public beta available (1997) Un[url]ize (1999) WebCatalog can't find database (1997) PIXO support (1997) WebDNA / Red Hat 9 ? (2003) I got caught! (2003) Emailer and Lack of Code Commenting (1999) [include ...] behavior (1997) problems with WebCat-Plugin (1997) Add to Cart & List of Products (1997) Mac 2.1b2 speed (1997) webcat- multiple selection in input field (1997) Running _every_ page through WebCat ? (1997) ShowNext - This is Killing me! (1998)