Hello dear Bubba friends,
This is probably a new-bee question, but I'll give it a go.
I was trying to run a simple PHP based guestbook on my bubba webserver, it seems to find the right files and tries tot write into them, it a flat-file based PHP-script, but I can't seem tot set the correct chmod properties for the files, I tried via a FTP program and the Bubba interface, but it looks like they change back to the former settings ...
any ideas?
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Can't seem to change the permissions of files.
-
- Posts: 7
- Joined: 11 Apr 2008, 01:40
these are the files that should make up a simple guestbook
http://85.223.49.167/book/read.php
http://85.223.49.167/book/add.php
http://85.223.49.167/book/book.txt
somehow if I change the permissions in the bubba interface via filemanager they keep switching back to the old permissions.
and sometimes it claims that the permission change has failed.
http://85.223.49.167/book/read.php
http://85.223.49.167/book/add.php
http://85.223.49.167/book/book.txt
somehow if I change the permissions in the bubba interface via filemanager they keep switching back to the old permissions.
and sometimes it claims that the permission change has failed.
hi
your code probably wants to change the book.txt file.
i don''t know how you change it, but it is run under the user under which the apache server is running.
This will probably be www-data
if the file is owned by this user, the user you use for the filemanager cannot change the permissions.
If you want better controle, or see more, use ssh to login.
You can then also become root to change permissions the way you want.
cheers
Eek
your code probably wants to change the book.txt file.
i don''t know how you change it, but it is run under the user under which the apache server is running.
This will probably be www-data
if the file is owned by this user, the user you use for the filemanager cannot change the permissions.
If you want better controle, or see more, use ssh to login.
You can then also become root to change permissions the way you want.
cheers
Eek
-
- Posts: 7
- Joined: 11 Apr 2008, 01:40