Re: [WebDNA] Can webDNA be forced to be able to read ANY file in ANY folder in a webroot in =?UTF-8?Q?CentOS=3F?=
This WebDNA talk-list message is from 2018
It keeps the original formatting.
numero = 114399
interpreted = N
texte = 2018Olin, easiest way (not most secure way).In WebDNA Admin:Set 664 for insecure filesSet 660 for secure files.* After set, flush databases *Make sure your file permissions inside your html root start with:775 - directories.664 - insecure files (html / css, etc..)660 - secure files (.db, .inc, .hdr, etc)Make sure your group owner of all files is that which your WebServer is=20running.Sincerely,DonovanOn 2018-09-14 04:18, Olin Lagon wrote:> I just tested. I set my prefs to both 777 like your screenshot. I> created a write file and the resulting file has this info, Any> suggestions? Cant really update files.>> On Thu, Sep 13, 2018 at 1:56 PM Stuart Tremain>
wrote:>>> Hi Olin>>>> Check the prefs in your WebDNA setup.>>>> If you don=E2=80=99t want WebDNA to change permissions of files it wri=tes.>> That will get you around the 600 problem, I wouldn=E2=80=99t change>> permissions to 777 though, that is a bit insecure.>> Generally your files should be 775 that will allow the owner to read>> write & execute, it will also allow the group to read, write &>> execute (rwx).>>>> Depending on your OS: If you are using ubuntu group should be>> www-data and the owner must be a member of the www-data group then>> you will be able to read & write the files without having to change>> permissions.>>>> Kind regards>>>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@plsoftware.com.au [7]>>>>> On 14 Sep 2018, at 09:01, Olin Lagon >>> wrote:>>>>>> Hey guys,>>>>>> Whipping up some code and for some reason daily when WebDNA is>>> updating files, the permissions get changed on files and>>> subsequent database or file access is blocked.>>>>>> For instance, Owner and Group is 0 when I manually change a DB>>> file to 777. Then after WebDNA updates the file, the file is now>>> 660 with a different owner and group numbers. Sometimes I can>>> write to this db=C2=A0sometimes I cant.=C2=A0>>>>>> Anyone have a document I can read to properly check the>>> permissions so webdna=C2=A0has no problems accessing any of the files>>> within a certain directory regardless of the permissions? I think>>> that would fix this issue.>>>>>> Thanks, Olin>>>>>> -->>>>>> Olin Lagon>>> olagon [2]>>> --------------------------------------------------------- This>>> message is sent to you because you are subscribed to the mailing>>> list talk@webdna.us [3] To unsubscribe, E-mail to:>>> talk-leave@webdna.us [4] archives:>>> http://www.webdna.us/page.dna?numero=3D55 [5] Bug Reporting:>>> support@webdna.us [6]>>>> --------------------------------------------------------- This>> message is sent to you because you are subscribed to the mailing>> list talk@webdna.us [8] To unsubscribe, E-mail to:>> talk-leave@webdna.us [9] archives:>> http://www.webdna.us/page.dna?numero=3D55 [10] Bug Reporting:>> support@webdna.us [11]>> -->> Olin Lagon> olagon [13] ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing> list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting:> support@webdna.us>> Links:> ------> [1] mailto:olin.lagon@gmail.com> [2] http://twitter.com/olagon> [3] mailto:talk@webdna.us> [4] mailto:talk-leave@webdna.us> [5] http://www.webdna.us/page.dna?numero=3D55> [6] mailto:support@webdna.us> [7] mailto:webdna@plsoftware.com.au> [8] mailto:talk@webdna.us> [9] mailto:talk-leave@webdna.us> [10] http://www.webdna.us/page.dna?numero=3D55> [11] mailto:support@webdna.us> [12] mailto:webdna@plsoftware.com.au> [13] http://twitter.com/olagon---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
|
- Re: [WebDNA] Can webDNA be forced to be able to read ANY file in ANY folder in a webroot in =?UTF-8?Q?CentOS=3F?= (dbrooke@euca.us 2018)
|
2018Olin, easiest way (not most secure way).In WebDNA Admin:Set 664 for insecure filesSet 660 for secure files.* After set, flush databases *Make sure your file permissions inside your html root start with:775 - directories.664 - insecure files (html / css, etc..)660 - secure files (.db, .inc, .hdr, etc)Make sure your group owner of all files is that which your WebServer is=20running.Sincerely,DonovanOn 2018-09-14 04:18, Olin Lagon wrote:> I just tested. I set my prefs to both 777 like your screenshot. I> created a write file and the resulting file has this info, Any> suggestions? Cant really update files.>> On Thu, Sep 13, 2018 at 1:56 PM Stuart Tremain> wrote:>>> Hi Olin>>>> Check the prefs in your WebDNA setup.>>>> If you don=E2=80=99t want WebDNA to change permissions of files it wri=tes.>> That will get you around the 600 problem, I wouldn=E2=80=99t change>> permissions to 777 though, that is a bit insecure.>> Generally your files should be 775 that will allow the owner to read>> write & execute, it will also allow the group to read, write &>> execute (rwx).>>>> Depending on your OS: If you are using ubuntu group should be>> www-data and the owner must be a member of the www-data group then>> you will be able to read & write the files without having to change>> permissions.>>>> Kind regards>>>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@plsoftware.com.au [7]>>>>> On 14 Sep 2018, at 09:01, Olin Lagon >>> wrote:>>>>>> Hey guys,>>>>>> Whipping up some code and for some reason daily when WebDNA is>>> updating files, the permissions get changed on files and>>> subsequent database or file access is blocked.>>>>>> For instance, Owner and Group is 0 when I manually change a DB>>> file to 777. Then after WebDNA updates the file, the file is now>>> 660 with a different owner and group numbers. Sometimes I can>>> write to this db=C2=A0sometimes I cant.=C2=A0>>>>>> Anyone have a document I can read to properly check the>>> permissions so webdna=C2=A0has no problems accessing any of the files>>> within a certain directory regardless of the permissions? I think>>> that would fix this issue.>>>>>> Thanks, Olin>>>>>> -->>>>>> Olin Lagon>>> olagon [2]>>> --------------------------------------------------------- This>>> message is sent to you because you are subscribed to the mailing>>> list talk@webdna.us [3] To unsubscribe, E-mail to:>>> talk-leave@webdna.us [4] archives:>>> http://www.webdna.us/page.dna?numero=3D55 [5] Bug Reporting:>>> support@webdna.us [6]>>>> --------------------------------------------------------- This>> message is sent to you because you are subscribed to the mailing>> list talk@webdna.us [8] To unsubscribe, E-mail to:>> talk-leave@webdna.us [9] archives:>> http://www.webdna.us/page.dna?numero=3D55 [10] Bug Reporting:>> support@webdna.us [11]>> -->> Olin Lagon> olagon [13] ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing> list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us> archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting:> support@webdna.us>> Links:> ------> [1] mailto:olin.lagon@gmail.com> [2] http://twitter.com/olagon> [3] mailto:talk@webdna.us> [4] mailto:talk-leave@webdna.us> [5] http://www.webdna.us/page.dna?numero=3D55> [6] mailto:support@webdna.us> [7] mailto:webdna@plsoftware.com.au> [8] mailto:talk@webdna.us> [9] mailto:talk-leave@webdna.us> [10] http://www.webdna.us/page.dna?numero=3D55> [11] mailto:support@webdna.us> [12] mailto:webdna@plsoftware.com.au> [13] http://twitter.com/olagon---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
dbrooke@euca.us
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:
'RequiredField' Question (1998)
[WriteFile] problems (1997)
acrobat -> wc (1998)
math with multiple [founditems] (1999)
Wonderin' whats the way (1998)
2.0Beta Command Ref (can't find this instruction) (1997)
Protect vs Authenicate (1997)
[username][password] not showing up! HELP! (1999)
WebCatalog/Mac 2.1b2 New Features (1997)
[isfile] ? (1997)
PCS Frames (1997)
Bug in 4.5 - Needs to be fixed ASAP. (2002)
Error -108 (1997)
Lookup command (1998)
synching databases on multiple servers (1997)
insert graphic in email (2000)
remotely add + sign (1997)
transferring values (1998)
FlushDatabase Suggestion (1998)
[WebDNA] why this error when using [shownext] with a [table]? (2009)