Don't set the permissions on rpool directories
See the comment. This was also a bug, if the user was not creating `/root` or `/tmp` filesystems.
This commit is contained in:
parent
89bfc090e5
commit
d7518ad12b
@ -1205,9 +1205,10 @@ function create_pools_and_datasets {
|
|||||||
fi
|
fi
|
||||||
done < <(echo "$interpolated_dataset_create_options")
|
done < <(echo "$interpolated_dataset_create_options")
|
||||||
|
|
||||||
chmod 700 /mnt/root
|
# Here, the original procedure sets the permissions for /root (700) and /tmp (1777), however, in this
|
||||||
# This is fine independently of the user creating a dataset for /tmp or not.
|
# script we don't need to do it, since we sync the O/S installer result, which is already configured.
|
||||||
chmod 1777 /mnt/tmp
|
# In case of changes, don't forget that the destination layout may be empty, at this point, due to
|
||||||
|
# the user's ZFS filesystems configuration!
|
||||||
|
|
||||||
# BOOT POOL CREATION #################
|
# BOOT POOL CREATION #################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user