Comment 16 for bug 1966858

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/838645
Committed: https://opendev.org/openstack/devstack/commit/c64ea4f213afebd1602d05cdd4d5bc14eaf5356b
Submitter: "Zuul (22348)"
Branch: master

commit c64ea4f213afebd1602d05cdd4d5bc14eaf5356b
Author: yatinkarel <email address hidden>
Date: Wed Apr 20 12:30:09 2022 +0530

    Fix doc and user create script to set homedir permissions

    RHEL based distros set homedir permissions to 700,
    and Ubuntu 21.04+ to 750[1], i.e missing executable
    permission for group or others, this results into failures
    as defined in the below bug.

    Since in doc we add useradd command, it's good to
    add instructions to fix the permissions there itself
    instead of getting failures during installation and then
    fixing it.

    Also update user create script to fix permissions
    by adding executable bit to DEST directory if missing.

    [1] https://discourse.ubuntu.com/t/private-home-directories-for-ubuntu-21-04-onwards/19533

    Closes-Bug: #1966858
    Change-Id: Id2787886433281238eb95ee11a75eddeef514293