Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Shepherd Enterprise
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Subconscious Compute (Open)
Shepherd Enterprise
Commits
29e02c49
Commit
29e02c49
authored
11 months ago
by
Vipul
Browse files
Options
Downloads
Patches
Plain Diff
chore: fix changing permissions operation permitted, by adding sudo
parent
01e2deae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup-debian.sh
+5
-5
5 additions, 5 deletions
setup-debian.sh
with
5 additions
and
5 deletions
setup-debian.sh
+
5
−
5
View file @
29e02c49
...
...
@@ -172,11 +172,11 @@ setup_git() {
sudo
git pull origin main
--force
echo
"Repository updated. Applying updates..."
# Ensure the scripts are executable after a potential update
chmod
+x
"
$SCRIPT_PATH
"
chmod
+x
"
$VIMACOG_GEN_PATH
"
chmod
+x
"
$VIMACOG_HARD_GEN_PATH
"
chmod
777
"
$GRAFANADATA_PATH
"
chmod
777
"
$LOKIDATA_PATH
"
sudo
chmod
+x
"
$SCRIPT_PATH
"
sudo
chmod
+x
"
$VIMACOG_GEN_PATH
"
sudo
chmod
+x
"
$VIMACOG_HARD_GEN_PATH
"
sudo
chmod
777
"
$GRAFANADATA_PATH
"
sudo
chmod
777
"
$LOKIDATA_PATH
"
# Hard refresh the setup
echo
"Force updating script due to changes..."
exec
"
$SCRIPT_PATH
"
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment