Re: Writefile doesn't work, which permissions to use?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61631
interpreted = N
texte = I took your advice and changed the webdna unixuser preference from=20"www" to "kengrome" which is the only user I created on this computer. =20=It looks like all the files I FTP's to the new iMac server are set to=20the following prefs:ownerkengromeread and writegroupkengromeread and writeotherskengromeread.... so I guess now that webdna is also unixuser "kengrome" it will be=20able to read and write all the files I create on this new computer or=20FTP to this new computer using the kengrome account.It also seems like it will write files with me (kengrome) as the owner=20=now, which means I'll be able to edit them without having to enter my=20password to save them every time.I'm not sure how this will affect the files the installer created=20because they are still owned by www and they are still in the www=20group, so maybe I'll have to change the permissions on all those files=20=before everything will work ... but it's after 2 am here in the=20Philippines and it's time for me to get some sleep.Thanks again for everyone's help ... :)Sincerely,Kenneth Gromewww.kengrome.comOn 04 1, 05, at 1:34 AM, Nitai @ ComputerOil wrote:> If it is your local machine then you could also set the unixuser for=20=> WebDNA in the WebCatalog Prefs file to your user or even root. Then=20> there is no worry about permissions and webdna ata ll. But I am sure=20=> someone on here will correct me again..........>> Nitai>> Kenneth Grome wrote:>>> Yes, it's my local machine, and I won't be using this to serve files=20=>> over the internet, but I will be using it as an occasional web server=20=>> on my local network.>>>> Mostly I have to get things configured on this new iMac so I can use=20=>> it for my webdna programming and development work, so it can replace=20=>> my old iBook running OS 9.2, that's why Apache and permissions issues=20=>> are new to me so late in the game. I think I'm one of the last guys=20=>> in the programming world to still be using OS 9.x until two days ago=20=>> ... ;)>>>> Sincerely,>> Kenneth Grome>> www.kengrome.com>>>>>>>>>>>>>>>> On 04 1, 05, at 12:58 AM, Jesse Proudman wrote:>>>>>>>> On Mar 31, 2005, at 8:55 AM, Kenneth Grome wrote:>>>>>>> Hi Guys,>>>>>>>> Thanks for all your help with the "webdna serving .html files"=20>>>> issue. I failed to get it to work in the shell even after creating=20=>>>> a root password, so I downloaded BBEDit Demo and did it that way.>>>>>>>> I still have some problems with permissions, for example my=20>>>> writefile contexts don't work. What's the best way to fix this,=20>>>> it's a permissions problem I guess. It is best to put myself=20>>>> and/or www into a special group, then to give that group read and=20=>>>> write permission on all the files I create?>>>>>>>> Or how do you guys deal with this?>>>>>>>>> Well, if it's your local machine, make the group of the master=20>>> folder "www" and give it read, write, execute, and then apply that=20=>>> to all enclosed folders.>>>>>> That should work.>>>>>> --=20>>>>>> Jesse Proudman>>> Blue Box Group, LLC>>>>>> p. +1.800.613.4305 x801>>> e. jesse@blueboxgrp.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=20>>> >>> 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=20>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>> --=20> Redakto - Content Management that simply works> Content Management & eBusiness Systems>> ComputerOil=AE AG> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66>> info@computeroil.com> http://computeroil.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=20> > 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:
I took your advice and changed the webdna unixuser preference from=20"www" to "kengrome" which is the only user I created on this computer. =20=It looks like all the files I FTP's to the new iMac server are set to=20the following prefs:ownerkengromeread and writegroupkengromeread and writeotherskengromeread.... so I guess now that webdna is also unixuser "kengrome" it will be=20able to read and write all the files I create on this new computer or=20FTP to this new computer using the kengrome account.It also seems like it will write files with me (kengrome) as the owner=20=now, which means I'll be able to edit them without having to enter my=20password to save them every time.I'm not sure how this will affect the files the installer created=20because they are still owned by www and they are still in the www=20group, so maybe I'll have to change the permissions on all those files=20=before everything will work ... but it's after 2 am here in the=20Philippines and it's time for me to get some sleep.Thanks again for everyone's help ... :)Sincerely,Kenneth Gromewww.kengrome.comOn 04 1, 05, at 1:34 AM, Nitai @ ComputerOil wrote:> If it is your local machine then you could also set the unixuser for=20=> WebDNA in the WebCatalog Prefs file to your user or even root. Then=20> there is no worry about permissions and webdna ata ll. But I am sure=20=> someone on here will correct me again..........>> Nitai>> Kenneth Grome wrote:>>> Yes, it's my local machine, and I won't be using this to serve files=20=>> over the internet, but I will be using it as an occasional web server=20=>> on my local network.>>>> Mostly I have to get things configured on this new iMac so I can use=20=>> it for my webdna programming and development work, so it can replace=20=>> my old iBook running OS 9.2, that's why Apache and permissions issues=20=>> are new to me so late in the game. I think I'm one of the last guys=20=>> in the programming world to still be using OS 9.x until two days ago=20=>> ... ;)>>>> Sincerely,>> Kenneth Grome>> www.kengrome.com>>>>>>>>>>>>>>>> On 04 1, 05, at 12:58 AM, Jesse Proudman wrote:>>>>>>>> On Mar 31, 2005, at 8:55 AM, Kenneth Grome wrote:>>>>>>> Hi Guys,>>>>>>>> Thanks for all your help with the "webdna serving .html files"=20>>>> issue. I failed to get it to work in the shell even after creating=20=>>>> a root password, so I downloaded BBEDit Demo and did it that way.>>>>>>>> I still have some problems with permissions, for example my=20>>>> writefile contexts don't work. What's the best way to fix this,=20>>>> it's a permissions problem I guess. It is best to put myself=20>>>> and/or www into a special group, then to give that group read and=20=>>>> write permission on all the files I create?>>>>>>>> Or how do you guys deal with this?>>>>>>>>> Well, if it's your local machine, make the group of the master=20>>> folder "www" and give it read, write, execute, and then apply that=20=>>> to all enclosed folders.>>>>>> That should work.>>>>>> --=20>>>>>> Jesse Proudman>>> Blue Box Group, LLC>>>>>> p. +1.800.613.4305 x801>>> e. jesse@blueboxgrp.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=20>>> >>> 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=20>> >> Web Archive of this list is at: http://webdna.smithmicro.com/>>> --=20> Redakto - Content Management that simply works> Content Management & eBusiness Systems>> ComputerOil=AE AG> Dammstrasse 7> 5400 Baden / Switzerland> Telefon +41 (0)844 44 55 66>> info@computeroil.com> http://computeroil.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=20> > 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/
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:
Re2: frames & carts (1997)
New Plug-in and Type 11 errors (1997)
Triggers (2005)
Search returns all, not 20 (1997)
Pull Down Search (2000)
Back Button problems (1998)
Bug or syntax error on my part? (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
SQL Changes in 3.0.7? (2000)
A Global Variable (1997)
Reload of the shoppingcart.tmpl page (1999)
WebCat2.0b15-to many nested [xx] tags (1997)
[WebDNA] 3-5 GB of native WebDNA db in RAM?, else MySQL w/WebDNA (2009)
problems with 2 tags (1997)
[WebDNA] v7 Stress Test and Strange Behaviour (2012)
Bad Cookie / Internet Option / Internet Explorer (2004)
[WebDNA] CICADA (2008)
searching by date (1998)
syntax question, not in online refernce (1997)
Two submit buttons ? (1997)