Bug #912

perl syntax error in group-create-unix action

Added by Davide Principi over 9 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:03/23/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:DEV2
Security class: Resolution:
Affected version: NEEDINFO:

Description

Affected version: DEV1.

Patch follow:

--- group-create-unix.orig    2012-03-23 16:46:38.036606778 +0100
+++ group-create-unix    2012-03-23 16:47:16.871901792 +0100
@@ -106,7 +106,7 @@
 # the list because libuser 0.56 with ldap backend seems to fail
 # silently when asked to remove the first and only one member of a
 # group (Davide Principi <davide.principi@nethesis.it>)
-push 'admin', @groupMembers;
+push @groupMembers, 'admin';

 my $member;
 foreach $member (@groupMembers)

Related issues

Related to NethServer 6 - Bug #913: group-create-unix action fails on empty Description field CLOSED 03/23/2012

Associated revisions

Revision 1960bf94
Added by Davide Principi over 9 years ago

group-create-unix, group-modify-unix actions. Fixed empty description and group member lists. Refs #912, #913 - These caused lusermod lgroupmod commands to fail.

History

#1 Updated by Davide Principi over 9 years ago

  • Project changed from NethServer 6 to 1

#2 Updated by Davide Principi over 9 years ago

  • % Done changed from 80 to 100

#3 Updated by Davide Principi over 9 years ago

  • Status changed from ON_DEV to 7

#4 Updated by Davide Principi over 8 years ago

  • Project changed from 1 to NethServer 6

Also available in: Atom PDF