mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B OpenNebula/one#5086: lxd market auto context incompatible with nosuid, nodev (#931)
This commit is contained in:
parent
c8565cfce0
commit
a18308887d
@ -49,8 +49,8 @@ esac
|
||||
|
||||
# try first to mount with the fuse2fs command and if that fails fallback to the
|
||||
# regular mount
|
||||
if ! fuse2fs -o noexec,nodev,nosuid $tmp_dir/$id.raw $tmp_dir/$id >/dev/null 2>&1 ; then
|
||||
mount -o noexec,nodev,nosuid $tmp_dir/$id.raw $tmp_dir/$id
|
||||
if ! fuse2fs -o nosuid $tmp_dir/$id.raw $tmp_dir/$id >/dev/null 2>&1 ; then
|
||||
mount -o nosuid $tmp_dir/$id.raw $tmp_dir/$id
|
||||
fi
|
||||
|
||||
chown $USER:$GROUP $tmp_dir/$id
|
||||
|
Loading…
x
Reference in New Issue
Block a user