Skip to content

Commit

Permalink
Change the file path to avoid the root privilege (#8983)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieloh30 authored Jan 16, 2025
1 parent 2b6e3fe commit d096c49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Version=1.0
Name=RAD AI Labs
Comment=Opens Firefox with a specific URL
Exec=firefox localhost:8443
Icon=/usr/share/icons/hicolor/48x48/apps/rad_lab.png
Icon=/home/insturct/rad_lab.png
Terminal=false
Type=Application
Categories=Network;WebBrowser;
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,8 @@
- name: Add a custom shortcut icon
ansible.builtin.copy:
src: rad_lab.png
dest: "/usr/share/icons/hicolor/48x48/apps/"
mode: u=r,g=r,o=
become: true
dest: "/home/{{ setup_instructlab_user }}/"
mode: u=rw,g=rw,o=

- name: Add a firefox shortcut for the lab instructions
ansible.builtin.copy:
Expand Down

0 comments on commit d096c49

Please sign in to comment.