- Permission denied in ... fs_unix.php

pauld

Joined: 2003-01-07
Posts: 17
Posted: Wed, 2003-03-05 06:45

Warning: fopen("/var/www/html_wii/albums/albumdb.dat.0", "w") - Permission denied in /var/www/html_wii/modules/gallery/platform/fs_unix.php on line 53

Hi all,
I run this gallery within phpnuke 5.6, without problems until today, briefly, I had two albums, I deleted one, and I ended up with the above error message.
I am of the opinion it's not Gallery's fault, I run a security product called ViperDB (it drops a simple db in each directory it watches, the issue is that it is sticky (won't allow anyone to just delete it (even root) unless you change the extended permission.

So, Gallery got upset because it couldn't delete the entire album directory, and now I have this error. (I tried deleting the lock file, that doesn't make any difference).
your expert thoughts appreciated.
(I could upgrade to the latest version, would this solve it?)
Thanks,
Paul

http://www.wii.org.au/
Gallery 1.3.1
apache 1.3
php 4.1.2
rehat 7.3

------

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2003-03-05 12:36

Resembles FAQ C.15...Try this...

 
pauld

Joined: 2003-01-07
Posts: 17
Posted: Wed, 2003-03-05 23:33

Thanks,

that worked, I must have changed the position of the album directory, it altered perms and owner!

(I did search the site, but, I didn't include the fopen keyword so I got a "not found" , so, I've added this reply to confim this worked, to help the next searcher!)

Thanks,
Regards,

Paul

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Wed, 2003-03-05 23:40

Ya, I understand. It's not exactly FAQ C.15, but the solution is the same, so I referred you there instead of restating it...