Re: [OFF-TOPIC] File permissions

From: Templar Viper (templarviper@hotmail.com)
Date: 05/09/03


From: "Jarhad Idanno" <Jarhad@webmail.merging.org>
> --- Templar Viper <templarviper@HOTMAIL.COM> wrote:
> >I'm running Circlemud 3.1 with Oasisolc, ascii player files and more on a
> >redhat 8.0 machine. I have some problems with file permissions however.
> >Sometimes after a copyover/reboot after a compile, the muds boots fine,
> >but when I try to log in, the mud complains it can't read the player
file.
>
> Hi Templar Viper,
> actually your problem has nothing to do with file permissions on your OS.
I also encountered this problem some time back.
> It seems that after someone receives mail, his name in the player_table is
capitalized (until now I still can't locate the code that does this), but
since the name of the pfile is stored in small letters, of course the system
won't be able to open the capitalized file since it doesn't exist.
> My solution was rather simple.  In db.c, under load_char:
>
>   <Snippet>
>

Doh.. This solved my problem. As I am usually developing and debugging on
a cygwin machine, and since Windows doesn't care whether a letter is capital
or not, I couldn't figure out this was more of a code problem. Thanks for
the
help!

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT