[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] RESOLVED: Group and permission problems with Proftpd 1.2.0pre10
- Subject: [cobalt-users] RESOLVED: Group and permission problems with Proftpd 1.2.0pre10
- From: "RHLinux- WHN" <rhlinux@xxxxxxxxxxx>
- Date: Mon Jan 24 17:09:07 2000
Regards
Gary
> I've heard of a few problems on pre10 with groups and permissions
> problems...the problem has been located/resolved in the latest CVS
version.
> For those of you running production sites, here is the patch you need to
> apply to mod_auth.c:
>
> ---CUT HERE---
> --- mod_auth.c.orig Mon Jan 24 18:17:24 2000
> +++ mod_auth.c Mon Jan 24 18:17:50 2000
> @@ -241,7 +241,7 @@
> for(i = 0; i < ngids; i++)
> gid_arr[i + 2] = (gid_t) session_gids[i];
>
> - return setgroups(ngids + 1, gid_arr);
> + return setgroups(ngids + 2, gid_arr);
> }
> ---CUT HERE---
>
> If you don't know how to patch your systems...follow these instructions:
>
> 1) Save the lines between '---CUT HERE---' to a file.
>
> 1) cd into the directory you untar-ed ProFTPD 1.2.0pre10 to.
>
> 1) cd modules
>
> 2) patch -s -p0 < patchfile
>
> Where patchfile is the above file you created.
>
> Enjoy...
>
> -Mac
>
>
>
> --
> To unsubscribe, send mail to proftpd-request@xxxxxxxxxxx with
"unsubscribe"
> in the subject field of the message.
>
> http://www.proftpd.net -- The Official ProFTPD web site.
> http://bugs.proftpd.net -- Bug reporting and feature requests.
>
>