Hello Keith, On Saturday, January 25, 2003, Keith Mastin wrote... > (posted inline for reference)
*grins* that's the way I like it ;) >>> When login_auth is enabled, they get the Unknown user or password >>> incorrect error. [..] >> I've not used login_auth, but it could be possible that it hasn't >> been 'fixed' to work with the register_globals setting in your >> php.ini file being set to Off. [..] > hmmm.. I may have a problem then, because register_globals is On in > php.ini I shall download a copy later, and take a quick look at it. >>> The Administrator's window has a message at the bottom: "Config >>> file can't be opened. Please check config.php." My guess that this >>> is a permissions error, because when I change the permissions to >>> 0777, the message goes away and changes take effect. The >>> documentation for the plugin suggest to change the permissions to >>> 0660, but when that happens then the Administrator link isn't >>> listed on the options page. >> Yes... you'd be right. It is a permissions and ownership problem. >> If you're going to set the file permission to 0660 the file must be >> owned (group, and user) by the webserver. For example, if your >> apache runs as the user apached and the group as www-data, then the >> permissions should be something like this: >>-rw-rw---- 1 apached www-data 6704 Jan 13 23:44 config.php > I tried that and it didn't work here, but I did get it working with > a slight variance. > Apache has Owner apache and Group shadow-readers (necessary to use > mod_auth_pam on Redhat-7.3 with Apache-1.2.27-2) [..] > Administrator was working with these perms: > [root@mail webmail]# ll config/config.php > -rwxrwxrwx 1 keith.ma apache 5911 Jan 24 16:34 config/config.php Well setup says that would work, because you have that file set to 0777 which means world writeable. > [root@mail webmail]# chown apache:apache config/config.php As above, if you've not changed the chmod, then of course that'd work. > and didn't work with these ones (at least, not in the order they > appear here): [tested every line] > [root@mail webmail]# chmod 0660 config/config.php > [root@mail webmail]# chown apache:shadow-readers config/config.php So with the file owned by apache, and the group shadow-readers, and chmod 0660 you cannot edit the file through the admin plugin? > it does work after changing the ownership to user keith.mastin and > group shadow-readers: > [root@mail webmail]# chown keith.mastin:shadow-readers config/config.php > [root@mail webmail]# chmod 0660 config/config.php > [root@mail webmail]# ll config/config.php > -rw-rw---- 1 keith.ma shadow-r 5911 Jan 25 13:16 config/config.php So if the file is owned by by keith.mastin, and the group is shadow-readers, you can update the file? But if it is owned by apache, and the group is the same you cannot? That makes little sense, unless apache isn't really part of that group, and is running under the user keith.mastin. Silly question, what about the permissions for the config/ directory? Would that make any difference in the admin plugin's case? -- Jonathan Angliss ([EMAIL PROTECTED]) ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
