Closed salehabdullah216 closed 5 months ago
why does the script only work on root I do have the symbolic link
lrwxrwxrwx 1 root root 33 Jun 19 03:41 .bashrc -> /root/linuxtoolbox/mybash/.bashrc
drwx------ 8 root root 4096 Jun 12 13:34 /root drwxr-xr-x 3 root root 4096 Jun 11 14:17 /root/linuxtoolbox drwxr-xr-x 6 root root 4096 Jun 14 17:27 /root/linuxtoolbox/mybash
fixed it by adding the user to sudo group and ran the scrip agen without sudo
why does the script only work on root I do have the symbolic link
lrwxrwxrwx 1 root root 33 Jun 19 03:41 .bashrc -> /root/linuxtoolbox/mybash/.bashrc
drwx------ 8 root root 4096 Jun 12 13:34 /root drwxr-xr-x 3 root root 4096 Jun 11 14:17 /root/linuxtoolbox drwxr-xr-x 6 root root 4096 Jun 14 17:27 /root/linuxtoolbox/mybash