[Frugalware-darcs] setup-current: cdroms are now owned by the cdrom group

VMiklos mamajom at axelero.hu
Thu Mar 16 17:58:26 CET 2006


[cdroms are now owned by the cdrom group
VMiklos <mamajom at axelero.hu>**20050827195659
 this would have to be done a long time ago...
] {
hunk ./src/setup 774
-			# add the user to the disk group to be able to eject cds
-			chroot ./ /usr/bin/sed -i "s/\(^disk:.*\)$/\1,`sed -n 's/^\([^:]*\):.*/\1/;$ p' etc/passwd`/" etc/group
+			# add the user to the cdrom group to be able to eject cds
+			chroot ./ /usr/bin/sed -i "s/\(^cdrom:.*\)$/\1,`sed -n 's/^\([^:]*\):.*/\1/;$ p' etc/passwd`/" etc/group
}


More information about the Frugalware-darcs mailing list