From: Michael P. V. <mv...@co...> - 2004-01-07 15:00:43
|
I'm sorry, I mixed up two separate issues in my original post... Dirs are being created with www/www ownership, permissions on the user dir is 600. And when a user tries to login for the first time it creates that chmod'ed 600 dir and gives "Session no longer valid. Log out and log back in." When they then try logging in again as it says to "Couldn't create user dir". In order for it to login I need to chmod the dir to 760. I guess this is the first part of my problem, second part is getting Ilohamail to play nicely with my vpopmail Maildir's. creating/subscribing/etc doesn't seem to work....but I can get to that later...for now I just need to get my users to be able to login. Thanks for the help! =20 Michael Varre (mi...@ki...) Kishmish LLC. - Systems Administrator 2 Clinton Square Suite 130 Syracuse, NY 13202 t. 315.478.8172 f. 800.375.3951 m. 315.952.5753 Kishmish LLC. Network Services www.kishmish.com =20 =20 "Do not be afraid to try something new...Remember, amateurs built the ark; professionals built the Titanic."=20 =20 [Hidden DOS secret: Add BUGS=3DOFF to your CONFIG.SYS] =20 -----Original Message----- From: ilo...@li... [mailto:ilo...@li...] On Behalf Of Ryo Chijiiwa Sent: Tuesday, January 06, 2004 10:34 PM To: ilo...@li... Subject: Re: [Ilohamail-users] permissions on user dirs On 1/6/2004, "Michael P. Varre" <mv...@co...> wrote: >I was wondering how I can force new folder creations, i.e. new user data >folders created by ilohamail, to have specific permissions and >ownership. As it is now, when a user logs in for the first time the >permissions and ownership are wrong and I have to manually chown them to >my apache user and chmod them properly. That's odd. Normally, files and directories created by PHP scripts have the Apache user as the owner by default... Which user is yours set to? Ryo ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick _______________________________________________ Ilohamail-users mailing list Ilo...@li... https://lists.sourceforge.net/lists/listinfo/ilohamail-users |
From: Ryo C. <ry...@il...> - 2004-01-12 23:40:14
|
That's odd... If you look at the code, all calls to mkdir pass '0700' as the initial permission, so if that's getting switched to 600, I'm guessing it might be some restriction/setting in PHP. Ryo On 1/7/2004, "Michael P. Varre" <mv...@co...> wrote: >I'm sorry, I mixed up two separate issues in my original post... > >Dirs are being created with www/www ownership, permissions on the user >dir is 600. > >And when a user tries to login for the first time it creates that >chmod'ed 600 dir and gives "Session no longer valid. Log out and log >back in." When they then try logging in again as it says to "Couldn't >create user dir". In order for it to login I need to chmod the dir to >760. > >I guess this is the first part of my problem, second part is getting >Ilohamail to play nicely with my vpopmail Maildir's. >creating/subscribing/etc doesn't seem to work....but I can get to that >later...for now I just need to get my users to be able to login. > >Thanks for the help! > >=20 >Michael Varre (mi...@ki...) >Kishmish LLC. - Systems Administrator >2 Clinton Square Suite 130 >Syracuse, NY 13202 >t. 315.478.8172 >f. 800.375.3951 >m. 315.952.5753 > >Kishmish LLC. Network Services >www.kishmish.com >=20 >=20 >"Do not be afraid to try something new...Remember, amateurs built the >ark; professionals built the Titanic."=20 >=20 >[Hidden DOS secret: Add BUGS=3DOFF to your CONFIG.SYS] >=20 >-----Original Message----- >From: ilo...@li... >[mailto:ilo...@li...] On Behalf Of Ryo >Chijiiwa >Sent: Tuesday, January 06, 2004 10:34 PM >To: ilo...@li... >Subject: Re: [Ilohamail-users] permissions on user dirs > > > >On 1/6/2004, "Michael P. Varre" <mv...@co...> wrote: > >>I was wondering how I can force new folder creations, i.e. new user >data >>folders created by ilohamail, to have specific permissions and >>ownership. As it is now, when a user logs in for the first time the >>permissions and ownership are wrong and I have to manually chown them >to >>my apache user and chmod them properly. > >That's odd. Normally, files and directories created by PHP scripts have >the Apache user as the owner by default... Which user is yours set to? > >Ryo > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for >IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys >admin. >Click now! http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >_______________________________________________ >Ilohamail-users mailing list >Ilo...@li... >https://lists.sourceforge.net/lists/listinfo/ilohamail-users > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Perforce Software. >Perforce is the Fast Software Configuration Management System offering >advanced branching capabilities and atomic changes on 50+ platforms. >Free Eval! http://www.perforce.com/perforce/loadprog.html >_______________________________________________ >Ilohamail-users mailing list >Ilo...@li... >https://lists.sourceforge.net/lists/listinfo/ilohamail-users |