the configuration is web2py self install on ubuntu server

# changes user and group owners to www-data, not root
# because files copied in are root and must be www-data
# find uid, gid  by os.lstat
# os.lchown does not work in windows
def run():
    import os
    uid = 33
    gid = 33
    the_path = os.getcwd()
    all_files = os.listdir(the_path)
    for the_file in all_files:
        os.lchown(the_file, uid, gid)

___________________________________________
On Sunday, March 4, 2012 1:37:56 PM UTC-5, Lewis wrote:
>
> Anyone else?  Tried 3 different browsers and two machines.  Tried 
> restarting apache and web2py.  Still can't save.  Not fatal, but it is 
> nice to use the web editor for little changes. 
>
> Thanks. 
>
> BTW:  I am posting less not because I am working less, but because I 
> understand web2py better and everything is going very well.

Reply via email to