ZOL prerolled images does not allow writing to tmp.
kusuriya opened this issue · 3 comments
kusuriya commented
System information
Type | Version/Name
ZOL image | FreeBSD 12
Distribution Name: freebsd
Distribution Version: 12-zol
Describe the problem you're observing
On the prerolled ZOL images for FreeBSD /tmp has an acl that makes it writable only as root
Describe how to reproduce the problem
- install from the provided FreeBSD-ZOL images on https://pkg.trueos.org/iso/freebsd12-zol/
- create a non root user
touch /tmp/test
- access denied
I was able to verify this on a 3 machines including a VM from Conor Beh, one of Michael Dexter's thinkpad X230's and my own thinkpad T450p
rqqb commented
Correct. Fix by ‘chmod 1777 /tmp’ (as root)
…--
Bob Bishop from iPhone*
rb@gid.co.uk
+44 783 626 4518
On 28 Apr 2019, at 00:21, Jason Barbier ***@***.***> wrote:
System information
Type | Version/Name
ZOL image | FreeBSD 12
Distribution Name: freebsd
Distribution Version: 12-zol
Describe the problem you're observing
On the prerolled ZOL images for FreeBSD /tmp has an acl that makes it writable only as root
Describe how to reproduce the problem
install from the provided FreeBSD-ZOL images on https://pkg.trueos.org/iso/freebsd12-zol/
create a non root user
touch /tmp/test
access denied
I was able to verify this on a 3 machines including a VM from Conor Beh, one of Michael Dexter's thinkpad X230's and my own thinkpad T450p
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
kusuriya commented
chmoding didn't fix the issue for me, I had to do a setfacl and add rwx to group and other. it almost looks like an acl is set to keep tmp empty so someone can mount a tmpfs partition to it.
Sent from my a tiny pocket computer.
… On Apr 28, 2019, at 02:45, Bob Bishop ***@***.***> wrote:
Correct. Fix by ‘chmod 1777 /tmp’ (as root)
--
Bob Bishop from iPhone*
***@***.***
+44 783 626 4518
> On 28 Apr 2019, at 00:21, Jason Barbier ***@***.***> wrote:
>
> System information
>
> Type | Version/Name
> ZOL image | FreeBSD 12
> Distribution Name: freebsd
> Distribution Version: 12-zol
>
> Describe the problem you're observing
>
> On the prerolled ZOL images for FreeBSD /tmp has an acl that makes it writable only as root
>
> Describe how to reproduce the problem
>
> install from the provided FreeBSD-ZOL images on https://pkg.trueos.org/iso/freebsd12-zol/
> create a non root user
> touch /tmp/test
> access denied
> I was able to verify this on a 3 machines including a VM from Conor Beh, one of Michael Dexter's thinkpad X230's and my own thinkpad T450p
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
kmoore134 commented
This appears fixed in the latest images here:
http://pkg.trueos.org/iso/freebsd-pkgbase/
http://pkg.trueos.org/iso/freebsd12-pkgbase/