Date: Sun, 14 Dec 2014 12:33:02 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 195963] New: [patch] emulators/pipelight: fix pipelight-mkufs, add usergroup Message-ID: <bug-195963-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195963 Bug ID: 195963 Summary: [patch] emulators/pipelight: fix pipelight-mkufs, add usergroup Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kmoore@FreeBSD.org Reporter: f0andrey@gmail.com Flags: maintainer-feedback?(kmoore@FreeBSD.org) Assignee: kmoore@FreeBSD.org When the user does not have the same name group, the script pipelight-mkufs does not correctly work out super-block backups (for fsck_ffs -b #) at: 192, 205056, 409920, 614784 chown: andrey: illegal group name ZVOL created and mounted to: /home/andrey/.wine-pipelight # groups andrey wheel operator _pkcs11 Hotfix --- emulators/pipelight/files/pipelight-mkufs.in 2014-10-24 01:20:15.503045748 +0400 +++ emulators/pipelight/files/pipelight-mkufs.in 2014-12-14 15:07:57.049832379 +0300 @@ -85,8 +85,11 @@ exit 1 fi +# Get user group +usergroup=`groups $username | cut -d " " -f 1` + # Chown the directory -chown $username:$username ${userhome}/.wine-pipelight +chown $username:$usergroup ${userhome}/.wine-pipelight # Save to fstab echo "/dev/zvol/$zpool/$username-pipelight ${userhome}/.wine-pipelight ufs rw,late 0 0" >> /etc/fstab --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer kmoore@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195963-13>