chown user2:accounting script.sh ➤ Sets the file owner to user2 (who maintains the script) and the group to accounting (which includes user1). chmod 750 script.sh ➤ Sets permissions to: 7 (owner = user2) → read, write, execute 5 (group = accounting) → read, execute only (no write) 0 (others) → no permissions This setup ensures: Only user2 can modify the script. Members of accounting (like user1) can execute but not edit it. Other users have no access, as required.