Re: Permissions with 3.06 Linux
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 28656
interpreted = N
texte = Peter - Under all Unix variants, file rights are not inherited in the same fashion as NTor 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 orwrite to, yet that user can delete it or rename it if the directory rightsallow.The easiest thing to do for now, until WebCat 4.0 comes out with multiusersecurity (Ha, Ha!), is to make sure that all files and directories are owned bynobody and all are RW user only. Try these commands from the top of yourWebCat directories: chown --recursive nobody:nobody * chmod --recursive u=rw *The first line will walk the directory tree and make all files owned by nobodyand 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 limitedsecurity models may work as well. YMMVHTHJohn Peacock____________________Reply Separator____________________Subject: Permissions with 3.06 Linux Author:
(WebCatalog Talk)Date: 3/7/00 4:44 PMWe just discovererd, that with WebCat 3.06/Linux we have to set writepermissions for each folder which containes a database. Otherwise we cannotwrite to this db's. We call them relative like ../db/my.dbThis was not necessary with the beta version. Was it a bug in the beta, oris it a bug now?What happens with such a structure:folder1 folder2 folder3 one.db two.db three.dband a call like ../folder1/folder2/folder3/one.dbCan we be sure that a writeable folder3 is enough?This is very important to know, because 5 customers complained today aboutmalfunction of the server...TIA,Peter++++++++++++++++++++++++++++++++++++++++++++++++Ostry & Partner - Vienna/Austria - www.ostry.comFon ++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:
Peter - Under all Unix variants, file rights are not inherited in the same fashion as NTor 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 orwrite to, yet that user can delete it or rename it if the directory rightsallow.The easiest thing to do for now, until WebCat 4.0 comes out with multiusersecurity (Ha, Ha!), is to make sure that all files and directories are owned bynobody and all are RW user only. Try these commands from the top of yourWebCat directories: chown --recursive nobody:nobody * chmod --recursive u=rw *The first line will walk the directory tree and make all files owned by nobodyand 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 limitedsecurity models may work as well. YMMVHTHJohn Peacock____________________Reply Separator____________________Subject: Permissions with 3.06 Linux Author: (WebCatalog Talk)Date: 3/7/00 4:44 PMWe just discovererd, that with WebCat 3.06/Linux we have to set writepermissions for each folder which containes a database. Otherwise we cannotwrite to this db's. We call them relative like ../db/my.dbThis was not necessary with the beta version. Was it a bug in the beta, oris it a bug now?What happens with such a structure:folder1 folder2 folder3 one.db two.db three.dband a call like ../folder1/folder2/folder3/one.dbCan we be sure that a writeable folder3 is enough?This is very important to know, because 5 customers complained today aboutmalfunction of the server...TIA,Peter++++++++++++++++++++++++++++++++++++++++++++++++Ostry & Partner - Vienna/Austria - www.ostry.comFon ++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
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:
Help name our technology! I found it (1997)
WebCatalog for Mac 2.0.1 Released (1997)
[WriteFile] problems (1997)
add line item context and showitems (1998)
[WebDNA] Search encrypted field (2015)
CAlendar (2003)
Multiple Merchant Accounts? (1997)
WebCat2 beta 11 - new prefs ... (1997)
automatic reload of frameset (1997)
[showif] question (2000)
Looking for 5 to 12 shops with 3 URLs & statements (1997)
Associative lookup style? + bit more (1997)
WebCatalog 4.0.1 has been released! OSXS (2000)
hmmm (2006)
Admin Edit prob. (1997)
WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)
Runtime (1998)
WebCatalog 4.0 has been released! (2000)
Why did this copyfile stop working? (2004)
Classifieds (2000)