Create lock file filled with :attr:`LOCK_FILE_CONTENT
    <ftp.settings.LOCK_FILE_CONTENT>`.

    Args:
        path (str): Path to the lock file. Made from users home directory and
                    :attr:`LOCK_FILENAME <ftp.settings.LOCK_FILENAME>`.

def create_lock_file(path):
    """
    Create lock file filled with :attr:`LOCK_FILE_CONTENT
    <ftp.settings.LOCK_FILE_CONTENT>`.

    Args:
        path (str): Path to the lock file. Made from users home directory and
                    :attr:`LOCK_FILENAME <ftp.settings.LOCK_FILENAME>`.
    """
    with open(path, "w") as f:
        f.write(settings.LOCK_FILE_CONTENT)

    passwd_reader.set_permissions(path, gid=settings.PROFTPD_USERS_GID)