Re: Writefile doesn't work, which permissions to use?
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 61633
interpreted = N
texte = You could either change those installer files to www also or just use root as the unixuser in the WebDNA Prefs. Like I said, on a Developer machine this will work fine.NitaiKenneth Grome wrote:> I took your advice and changed the webdna unixuser preference from > "www" to "kengrome" which is the only user I created on this > computer. It looks like all the files I FTP's to the new iMac server > are set to the following prefs:>> owner> kengrome> read and write>> group> kengrome> read and write>> others> kengrome> read>> ... so I guess now that webdna is also unixuser "kengrome" it will be > able to read and write all the files I create on this new computer or > FTP to this new computer using the kengrome account.>> It also seems like it will write files with me (kengrome) as the owner > now, which means I'll be able to edit them without having to enter my > password to save them every time.>> I'm not sure how this will affect the files the installer created > because they are still owned by www and they are still in the www > group, so maybe I'll have to change the permissions on all those files > before everything will work ... but it's after 2 am here in the > Philippines and it's time for me to get some sleep.>> Thanks again for everyone's help ... :)>> Sincerely,> Kenneth Grome> www.kengrome.com>>>>>>>> On 04 1, 05, at 1:34 AM, Nitai @ ComputerOil wrote:>>> If it is your local machine then you could also set the unixuser for >> WebDNA in the WebCatalog Prefs file to your user or even root. Then >> there is no worry about permissions and webdna ata ll. But I am sure >> 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 >>> over the internet, but I will be using it as an occasional web >>> server on my local network.>>>>>> Mostly I have to get things configured on this new iMac so I can use >>> it for my webdna programming and development work, so it can replace >>> my old iBook running OS 9.2, that's why Apache and permissions >>> issues are new to me so late in the game. I think I'm one of the >>> last guys in the programming world to still be using OS 9.x until >>> two days ago ... ;)>>>>>> 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" >>>>> issue. I failed to get it to work in the shell even after >>>>> creating a root password, so I downloaded BBEDit Demo and did it >>>>> that way.>>>>>>>>>> I still have some problems with permissions, for example my >>>>> writefile contexts don't work. What's the best way to fix this, >>>>> it's a permissions problem I guess. It is best to put myself >>>>> and/or www into a special group, then to give that group read and >>>>> 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 >>>> folder "www" and give it read, write, execute, and then apply that >>>> to all enclosed folders.>>>>>>>> That should work.>>>>>>>> -- >>>>>>>> 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 >>>> >>>> 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/>>>>>>>> -- >> Redakto - Content Management that simply works>> Content Management & eBusiness Systems>>>> ComputerOil® 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 >> >> 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/-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
You could either change those installer files to www also or just use root as the unixuser in the WebDNA Prefs. Like I said, on a Developer machine this will work fine.NitaiKenneth Grome wrote:> I took your advice and changed the webdna unixuser preference from > "www" to "kengrome" which is the only user I created on this > computer. It looks like all the files I FTP's to the new iMac server > are set to the following prefs:>> owner> kengrome> read and write>> group> kengrome> read and write>> others> kengrome> read>> ... so I guess now that webdna is also unixuser "kengrome" it will be > able to read and write all the files I create on this new computer or > FTP to this new computer using the kengrome account.>> It also seems like it will write files with me (kengrome) as the owner > now, which means I'll be able to edit them without having to enter my > password to save them every time.>> I'm not sure how this will affect the files the installer created > because they are still owned by www and they are still in the www > group, so maybe I'll have to change the permissions on all those files > before everything will work ... but it's after 2 am here in the > Philippines and it's time for me to get some sleep.>> Thanks again for everyone's help ... :)>> Sincerely,> Kenneth Grome> www.kengrome.com>>>>>>>> On 04 1, 05, at 1:34 AM, Nitai @ ComputerOil wrote:>>> If it is your local machine then you could also set the unixuser for >> WebDNA in the WebCatalog Prefs file to your user or even root. Then >> there is no worry about permissions and webdna ata ll. But I am sure >> 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 >>> over the internet, but I will be using it as an occasional web >>> server on my local network.>>>>>> Mostly I have to get things configured on this new iMac so I can use >>> it for my webdna programming and development work, so it can replace >>> my old iBook running OS 9.2, that's why Apache and permissions >>> issues are new to me so late in the game. I think I'm one of the >>> last guys in the programming world to still be using OS 9.x until >>> two days ago ... ;)>>>>>> 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" >>>>> issue. I failed to get it to work in the shell even after >>>>> creating a root password, so I downloaded BBEDit Demo and did it >>>>> that way.>>>>>>>>>> I still have some problems with permissions, for example my >>>>> writefile contexts don't work. What's the best way to fix this, >>>>> it's a permissions problem I guess. It is best to put myself >>>>> and/or www into a special group, then to give that group read and >>>>> 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 >>>> folder "www" and give it read, write, execute, and then apply that >>>> to all enclosed folders.>>>>>>>> That should work.>>>>>>>> -- >>>>>>>> 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 >>>> >>>> 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/>>>>>>>> -- >> Redakto - Content Management that simply works>> Content Management & eBusiness Systems>>>> ComputerOil® 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 >> >> 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/-- Redakto - Content Management that simply worksContent Management & eBusiness SystemsComputerOil® AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://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 Web Archive of this list is at: http://webdna.smithmicro.com/
"Nitai @ ComputerOil"
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:
many-to-one problem (1998)
WebCat2 beta 11 - new prefs ... (1997)
quantity minimum problem (1997)
Bad Cookie / Internet Option / Internet Explorer (2004)
Mac System Experience (1998)
[OT] Linux -> Winderz (2005)
no global [username] or [password] displayed ... (1997)
Emailer setup (1997)
Running 2 two WebCatalog.acgi's (1996)
Windows Install issue (2003)
Support ?? (1997)
Virtual hosting and webcatNT (1997)
Orders coming up blank (2004)
Banners and sort of random display (1997)
BUG: Random sort is not random at all..... (2000)
WCS Newbie question (1997)
Emailer errors (1997)
WebDNA 5.0 Questions (2003)
username/password dialogue (2001)
Formatting Email (2000)