sci2tech
Senior Member
Posts: 1,285
Joined: Jan 2007
Reputation: 23
|
RE: Problem mit Kunden anlegen
try this patch Quote:--- /_backup/ispcp/engine/ispcp_common_methods.pl 2008-08-30 17:34:49.000000000 +0300
+++ ispcp_common_methods.pl 2008-09-03 23:58:18.000000000 +0300
@@ -422,13 +422,10 @@
if ($fgroup =~ /^\d+$/) {
$gid = $fgroup;
}
- elsif ($fgroup eq 'null') {
- $gid = $udata[3];
- }
elsif ($fgroup ne '-1') {
@gdata = getgrnam($fgroup);
- if (scalar(@udata) == 0) {
+ if (scalar(@gdata) == 0) {
push_el(\@main::el, 'setfmode()', "ERROR: Unknown user '$fgroup' !");
return -1;
}
@@ -445,7 +442,7 @@
$res = chown($uid, $gid, $fname);
if ($res != 1) {
- push_el(\@main::el, 'setfmode()', "ERROR: cannot change user/group of file '$fname' !");
+ push_el(\@main::el, 'setfmode()', "ERROR: cannot change user/group fname: |$fname|, fuid: |$fuser|, fgid: |$fgroup|, fperms: |$fperms|, res: |$res| !");
return -1;
}
If something go wrong please put here /var/log/ispcp/ispcp-dmn-mngr.*
MAKE BACKUP
(This post was last modified: 09-04-2008 07:00 AM by sci2tech.)
|
|
09-04-2008 06:59 AM |
|