-
-
Notifications
You must be signed in to change notification settings - Fork 40
Step 7: permissions
iVAN edited this page Mar 16, 2022
·
1 revision
Finally, to use the -u
option without root privileges and without the sudo
command, give the right privileges to the current user:
currentuser=$(who | awk '{print $1}')
chown -R $currentuser /opt/$APP
Now you can do whatever you want in that directory.