Re: Permissions with 3.06 Linux
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28660
interpreted = N
texte = In most cases, write permissions for nobody are only needed for directories where the carts and .db are.As a general rule, write permissions are needed where WC writes files. So, if you use [writefile] somewhere, you have to make that directory hierarchy writable by nobody.Q to John: How do you support users that have to FTP files in their accounts if everything belongs to nobody:nobody?Clem.At 11:07 3/7/00, jpeacock@univpress.com wrote:>Peter ->>Under all Unix variants, file rights are not inherited in the same >fashion as NT>or Netware. Directory rights override file rights, as you have discovered.>What is especially wild is that you can have a file which a user >cannot read or>write to, yet that user can delete it or rename it if the directory rights>allow.>>The easiest thing to do for now, until WebCat 4.0 comes out with multiuser>security (Ha, Ha!), is to make sure that all files and directories >are owned by>nobody and all are RW user only. Try these commands from the top of your>WebCat directories:>> chown --recursive nobody:nobody *> chmod --recursive u=rw *>>The first line will walk the directory tree and make all files owned >by nobody>and the second will make sure that the _only_ file rights are RW by that user.>This is the most secure mode and should always work. Other less limited>security models may work as well. YMMV>>HTH>>John Peacock>>>____________________Reply Separator____________________>Subject: Permissions with 3.06 Linux>Author:
(WebCatalog Talk)>Date: 3/7/00 4:44 PM>>We just discovererd, that with WebCat 3.06/Linux we have to set write>permissions for each folder which containes a database. Otherwise we cannot>write to this db's. We call them relative like ../db/my.db>>This was not necessary with the beta version. Was it a bug in the beta, or>is it a bug now?>>What happens with such a structure:>folder1> folder2> folder3> one.db> two.db> three.db>and a call like ../folder1/folder2/folder3/one.db>>Can we be sure that a writeable folder3 is enough?>This is very important to know, because 5 customers complained today about>malfunction of the server...>>>TIA,>Peter>>>++++++++++++++++++++++++++++++++++++++++++++++++>Ostry & Partner - Vienna/Austria - www.ostry.com>Fon ++43-1-877 74 54 Fax ++43-1-877 74 54-21>++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------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:
In most cases, write permissions for nobody are only needed for directories where the carts and .db are.As a general rule, write permissions are needed where WC writes files. So, if you use [writefile] somewhere, you have to make that directory hierarchy writable by nobody.Q to John: How do you support users that have to FTP files in their accounts if everything belongs to nobody:nobody?Clem.At 11:07 3/7/00, jpeacock@univpress.com wrote:>Peter ->>Under all Unix variants, file rights are not inherited in the same >fashion as NT>or Netware. Directory rights override file rights, as you have discovered.>What is especially wild is that you can have a file which a user >cannot read or>write to, yet that user can delete it or rename it if the directory rights>allow.>>The easiest thing to do for now, until WebCat 4.0 comes out with multiuser>security (Ha, Ha!), is to make sure that all files and directories >are owned by>nobody and all are RW user only. Try these commands from the top of your>WebCat directories:>> chown --recursive nobody:nobody *> chmod --recursive u=rw *>>The first line will walk the directory tree and make all files owned >by nobody>and the second will make sure that the _only_ file rights are RW by that user.>This is the most secure mode and should always work. Other less limited>security models may work as well. YMMV>>HTH>>John Peacock>>>____________________Reply Separator____________________>Subject: Permissions with 3.06 Linux>Author: (WebCatalog Talk)>Date: 3/7/00 4:44 PM>>We just discovererd, that with WebCat 3.06/Linux we have to set write>permissions for each folder which containes a database. Otherwise we cannot>write to this db's. We call them relative like ../db/my.db>>This was not necessary with the beta version. Was it a bug in the beta, or>is it a bug now?>>What happens with such a structure:>folder1> folder2> folder3> one.db> two.db> three.db>and a call like ../folder1/folder2/folder3/one.db>>Can we be sure that a writeable folder3 is enough?>This is very important to know, because 5 customers complained today about>malfunction of the server...>>>TIA,>Peter>>>++++++++++++++++++++++++++++++++++++++++++++++++>Ostry & Partner - Vienna/Austria - www.ostry.com>Fon ++43-1-877 74 54 Fax ++43-1-877 74 54-21>++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------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
Clement Ross
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:
More questions about serial number dishing (1997)
Feature Request -COPYRECORD (2005)
PSC recommends what date format yr 2000??? (1997)
can WC render sites out? (1997)
[isfolder] and [filename] (1997)
Multiple catalog databases and showcart (1997)
Stumpted Again (1997)
Trunk-gator (1997)
Preventing Merchant Settling ? (1997)
Include a big block of text (1997)
Page-Execution-Timer...PHP vs WebDNA (2004)
[SearchString] usage (1997)
Date Range search (1997)
[ot] ShowIf & HideIf Question (1998)
Sorting by date (1997)
Multiple database stuff... (1999)
HomePage Caution (1997)
Emailer file formats (1998)
WebCat2: multiple currency support (1997)
Change Subtotal (2000)