# Create user with access only to specific directory adduser --home /restricted/directory restricted_user # Make user owner of directory and grant write access chown restricted_user:user_group /restricted/directory chmod 755 /restricted/directory
# Create user with access only to specific directory adduser --home /restricted/directory restricted_user # Make user owner of directory and grant write access chown restricted_user:user_group /restricted/directory chmod 755 /restricted/directory