Run it as a non-root user. You can use any user who has permissions to the files you need, but running as root is a security system.
--Mark > By the way, is it recommended on a real server to run start-project.py > as root or some other user? > > -Dylan > > On Aug 13, 10:18 pm, Dylnuge <[EMAIL PROTECTED]> wrote: > > Root is running the start file. Tried changing ownership to dnugent, > > did nothing. > > > > On Aug 13, 10:11 pm, "Mark Ramm" <[EMAIL PROTECTED]> wrote: > > > > > The person accessing the web site makes no difference to things at all. > > > > > The user running turbogears on the server (the user who runs > > > start-myapp.py) is the only one who counts. > > > > > --Mark > > > > > On 8/13/07, Dylnuge <[EMAIL PROTECTED]> wrote: > > > > > > Just tried running with rw-rw-rw, same error. Unless you want me to > > > > make it executable, I assume that this is not normal? > > > > > > I will try changing ownership. Since the person accessing the website > > > > is never going to own the file, I doubt it will work. > > > > > > On Aug 13, 9:18 pm, Dylnuge <[EMAIL PROTECTED]> wrote: > > > > > Owner is root, group is root, permissions rw-r--r-- (644). > > > > > > > On Aug 13, 8:03 pm, "Mark Ramm" <[EMAIL PROTECTED]> wrote: > > > > > > > > What are the file permissions on your DB file? > > > > > > > > On 8/13/07, Dylnuge <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Aug 13, 12:00 pm, Dylnuge <[EMAIL PROTECTED]> wrote: > > > > > > > > No edit option, so I need to add this manually: > > > > > > > > > > My version for sqlite is v 3.3.13. Due to peculiar nature of > > > > > > > > sqlite3 > > > > > > > > being a seperate program from sqlite, v 2.8.17 is also > > > > > > > > installed. The > > > > > > > > database, acording to a file command, is sqlite3. Toolbox works > > > > > > > > for > > > > > > > > creating pages, and I can manually edit with SQL query > > > > > > > > commands, but I > > > > > > > > am not able to edit from localhost. May have something to do > > > > > > > > with fact > > > > > > > > that I must be root through both manual edit and toolbox edit, > > > > > > > > but > > > > > > > > sudo firefox -H followed by trying the edit there fails as well. > > > > > > > > > > Thanks, > > > > > > > > Dylan > > > > > > > > > > On Aug 13, 9:05 am, Dylnuge <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > Hello, > > > > > > > > > > > I seem to have somehow set my database to be read only. Since > > > > > > > > > I am > > > > > > > > > using sqlite/pysqlite and all I have done is use tg-admin sql > > > > > > > > > create, > > > > > > > > > I am not sure how my database has become read only. > > > > > > > > > > > Either way, I would like to know how to set it so that more > > > > > > > > > people > > > > > > > > > then just root can edit it. I am working on the 20 minute > > > > > > > > > wiki project > > > > > > > > > and get this error when commiting changes: > > > > > > > > > > > ***traceback excluded for space reasons > > > > > > > > > OperationalError: attempt to write a readonly database > > > > > > > > > > > Thanks, > > > > > > > > > > > Dylan > > > > > > > > > Anyone? > > > > > > > > -- > > > > > > Mark Ramm-Christensen > > > > > > email: mark at compoundthinking dot com > > > > > > blog:www.compoundthinking.com/blog > > > > > -- > > > Mark Ramm-Christensen > > > email: mark at compoundthinking dot com > > > blog:www.compoundthinking.com/blog > > > > > -- Mark Ramm-Christensen email: mark at compoundthinking dot com blog: www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---