Τη Τετάρτη, 28 Αυγούστου 2013 3:38:11 μ.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε: > On Wed, 28 Aug 2013 05:17:34 -0700, Ferrous Cranus wrote: > > > > > As i have pointed out i as the owner of the accoutn have read and write > > > perimssion bot at www/ and www/cgi-bin i also chnage the filename and > > > still cant write to the file. > > > > If you type filenames as carelessly as you type requests for help, who > > knows what file name you are actually trying to open? > > > > Or to put it another way... > > > > If yuo tpye filnaems as carlesl yas y outype reqets for help, woh knwos > > wha tfile nmae oyu ar eactaly tying to oep n? > > > > > > Nikos, my Greek is completely non-existent, and I admire you for learning > > a second language. I know your English is good, because I have seen you > > write fluent, excellent English. But if you can't be bothered to type > > carefully and clearly when asking questions, then how can you expect > > others to be bothered to read and respond to your questions? > > > > > > > if you as experts cannot help resolve this, how me as a newbiw can? > > > > Just because your account has write permission to a location doesn't mean > > that the script being run by the webserver has write permission. You need > > to write to a location where the script has permission to write. First > > you need to find out what account the script is being run under -- it may > > be "apache", or possible "nobody", but I don't know. It shouldn't be > > "root", and almost certainly isn't "nikos". I'm not an expert, but a few > > seconds googling came up with a lot of useful looking hits. Google on > > "what user does apache run as" and do your research. > > > > This is off-topic though. This is not a "beginner's guide to apache" > > forum, if you can't solve this problem yourself you'll have to take it > > elsewhere. > > > > > > > > -- > > Steven
Hi steven , sorry for the typos. you are write my script is invoked by apache web server application which it runs under account 'nobody' Here is proof of that: ni...@superhost.gr [~]# ps aux | grep Apache nikos 8531 0.0 0.0 6372 680 pts/0 R+ 12:44 0:00 grep Apache ni...@superhost.gr [~]# ps aux | grep apache root 1101 0.0 0.2 65576 4168 ? Ss 08:30 0:01 /usr/local/apache/bin/httpd -k start -DSSL root 8448 0.0 0.1 65576 1700 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8449 0.0 0.2 65712 3228 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8450 0.0 0.2 65848 3348 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8451 0.0 0.2 65848 3360 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8452 0.0 0.2 65712 3340 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8453 0.0 0.2 65712 3260 ? S 12:42 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8467 0.0 0.1 65712 2356 ? S 12:43 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8468 0.0 0.1 65712 2344 ? S 12:43 0:00 /usr/local/apache/bin/httpd -k start -DSSL nobody 8519 0.0 0.1 65712 2344 ? S 12:43 0:00 /usr/local/apache/bin/httpd -k start -DSSL nikos 8537 0.0 0.0 6372 684 pts/0 R+ 12:44 0:00 grep apache My script were all workign in the previous VPS enviroment, the script is correct is just a few minor thing in the new VPS env that they need to be taken care of thus prohibit my script to run.. please don't give up helping me and tell me please what you want me to try. tahnk you very much. -- http://mail.python.org/mailman/listinfo/python-list