Avatars

All other out of character discussion and chit-chat goes here.
Look for people to write with and introduce yourself here.
User avatar
Tolki
Outsider
Posts: 28
Joined: Mon Apr 06, 2009 4:44 am
Name: Tolki
Race: Human

Re: Avatars

Post by Tolki » Sun May 03, 2009 5:08 am

Deatilsplz Frugger.

deviantart is to art, as google is to internet.

=D

User avatar
Frug
Site Admin
Posts: 1824
Joined: Fri Jun 03, 2005 8:48 pm
Name: Phil
Race: fool

Re: Avatars

Post by Frug » Tue May 05, 2009 5:30 am

Tolki wrote:Deatilsplz Frugger.
The files uploaded to the server appear to have random permissions attached to them. Anything from 100 to 777. If anyone has used linux (or ftp) to manage file permissions you'll be familiar with the numbers. They give permission for the file owner (first digit) group (second digit) and public (third digit) to read, write, and execute the file (execute applies to programs and directories mostly).

So as I was looking through the files on the server as I sometimes do for no particular reason at all, I noticed the avatars directory was full of files I could not view. Actually it was full of files that nobody (by the looks of it) could view from a browser. I couldn't view them using the permissions of the file manager we use (Plesk). So, in my zeal I made three assumptions:
a) if I can't view with plesk's administrative permissions, nobody can, b) phpbb3 would be consistent in applying file permissions to uploaded files so these strange files must be erroneous, and c) they were probably remnants of avatars uploaded from deleted accounts from way back when we upgraded from phpbb2.

If I wasn't an idiot I would have just changed the file permissions and/or downloaded them to look at them. But I am sometimes quite the idiot, and I deleted them. My assumptions were actually wrong on all three counts. Phpbb3 doesn't display the files directly, but rather pulls them and recreates them, and therefore can access them with 'owner' permissions as opposed to the usual group permissions. It's not consistent when it applies permissions, but seems to randomly slap on whatever permissions it feels like. And they're not from deleted accounts. They were Tsai's and Anjas and a few others :(

Now I do keep a backup of thar on my machine in case I delete anything important. But lo and behold all the files I deleted are avatars uploaded after I made my last backup.
The world is an arena, not a stage. RP is a stage, not an arena.

User avatar
Tolki
Outsider
Posts: 28
Joined: Mon Apr 06, 2009 4:44 am
Name: Tolki
Race: Human

Re: Avatars

Post by Tolki » Wed May 06, 2009 1:58 pm

Mmmm,

it's all about learning, innit?

I was being facetious but you can't really tell that through type can you? xD

Sounds like a pain in the bossom, generally.

Post Reply