rpms/ecryptfs-utils/F-11 ecryptfs-utils-74-group.patch,1.1,1.2

Michal Hlavinka mhlavink at fedoraproject.org
Tue May 5 11:49:05 UTC 2009


Author: mhlavink

Update of /cvs/extras/rpms/ecryptfs-utils/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31576

Modified Files:
	ecryptfs-utils-74-group.patch 
Log Message:
fix check for ecryptfs group


ecryptfs-utils-74-group.patch:

Index: ecryptfs-utils-74-group.patch
===================================================================
RCS file: /cvs/extras/rpms/ecryptfs-utils/F-11/ecryptfs-utils-74-group.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- ecryptfs-utils-74-group.patch	5 May 2009 11:16:58 -0000	1.1
+++ ecryptfs-utils-74-group.patch	5 May 2009 11:49:03 -0000	1.2
@@ -55,7 +55,7 @@ diff -up ecryptfs-utils-74/src/utils/ecr
  fi
  
 +# Check if user is member of ecryptfs group
-+if ! groups "$USER" | sed  -e 's| |\n|g' | grep -n 'ecryptfs$'; then
++if ! groups "$USER" | sed  -e 's| |\n|g' | grep -q '^ecryptfs$'; then
 +       error "User needs to be a member of ecryptfs group"
 +fi
 +




More information about the scm-commits mailing list