On Wed, 10 Aug 2005 16:03:57 -0400 Michael Denio <[EMAIL PROTECTED]> babbled:
> Hi, > > I'm giving E17 a whirl and came across this issue. > ecore_con_server_add() wants to create the socket for > ECORE_CON_LOCAL_USER under the $HOME directory. This is reasonable > except that my home directory is on an AFS mounted volume. Creating a > socket there doesn't work (errno returns 1 when trying to bind()). I > commented out the code: > > homedir = getenv("HOME"); it doesn't work on afs? interesting as i tried this on nfs and it works. > so it look in "/tmp" and all works. Any chance or rearranging the > selection of the homedir variable so this will work out of the box? hmmmm - it's possible but it does become nastier as this can become a source of a DOS on a user (another user creating the same dir owned as them and thus not having permission to is) that's why i chose ~/ as the only user with rights to write there should be the user (well and root). there are ways around this like /tmp/USER-x where x is some number. if it exists and is not writable by your user - try the next numebr up until it does work, but again - another source fo dos, just slowing down apps binding/connecting. i could then cache things in ~/.some_file but now we have concurrency issues in keeping that file up to date and since it may be shared amongst multiple hosts, we need to have a per-host specific file... basically using /tmp becomes tricky and thus i avoided it. this opens a bit of a can of worms... :( > -- > Michael Denio ([EMAIL PROTECTED]) > Market Making Development > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel