Merge pull request #9019 from markturansky/recyc_img

Fixes nfs-server security issue in image
pull/6/head
Rohit Jnagal 2015-05-29 16:32:51 -07:00
commit f3b4b1aa31
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ function start()
# prepare /etc/exports
for i in "$@"; do
# fsid=0: needed for NFSv4
echo "$i *(rw,fsid=0)" >> /etc/exports
echo "$i *(rw,fsid=0,no_root_squash)" >> /etc/exports
echo "Serving $i"
done