> Hi, > > I am running Squirrelmail 1.44 (on a Debian 3 Woody server) and have a > query > about the attachment and data folders. > > At the moment my SM is using the usual system-wide attachment and data > folders but I've been thinking about whether it's possible to have the > function of these 2 folders being taken over by users home directories. > I've tried a few minor tweaks to try and get user prefs and address book > files accessed from user home directories; ditto for attachments. But > without sucess. > > So I was wondering if anyone has any thoughts/ideas about how this might > be possible.
It'd be difficult. To do so your web server would have to have read and write permissions inside the users home directory. While you could probably limit it to just a single directory inside the users' home, it'd still require you to leave it open enough for a web application to get inside. The other method is to somehow write a custom preference handler that runs setuid as the user that is logged in, and then does the writing. While that is also possible, I believe some PHP installs don't have the setuid options available if installed in a certain method, which is default in most cases I believe. I'd need to do a little more research. -- Jonathan Angliss <[EMAIL PROTECTED]> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id)95 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
