forked from pool/filesystem-media
9 lines
140 B
Plaintext
9 lines
140 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$3" = 1 ]; then
|
||
|
chmod 755 /run/media
|
||
|
chmod 750 "$2"
|
||
|
setfacl -m "u:$4:rx" -m "g::-" "$2"
|
||
|
mount --make-rshared /media
|
||
|
fi
|