Skip to content

Instantly share code, notes, and snippets.

@bmedx
bmedx / perm_fix.py
Created June 16, 2017 17:11
Run in the background to fix issues with NFS permissions on Sierra (esp w/Vagrant)
# See: https://github.com/mitchellh/vagrant/issues/8061
from os import devnull
from subprocess import call
from time import sleep
with open(devnull, 'w') as FNULL:
while True:
x = call(['ls', '-aR'], stdout=FNULL, stderr=FNULL)
sleep(3)

Keybase proof

I hereby claim:

  • I am bmedx on github.
  • I am bmez (https://keybase.io/bmez) on keybase.
  • I have a public key whose fingerprint is 8481 BA0E ABA0 BDE4 DF76 5F74 22F5 2BEB D0BA 8AF5

To claim this, I am signing this object: