Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
installer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
installer
Commits
91c303df
Commit
91c303df
authored
Aug 17, 2018
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not set uid or gid if not asked to
parent
123350ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/config/file.rs
src/config/file.rs
+2
-2
No files found.
src/config/file.rs
View file @
91c303df
...
...
@@ -62,8 +62,8 @@ impl FileConfig {
}
else
{
0
o0644
});
let
uid
=
self
.uid
.unwrap_or
(
0
);
let
gid
=
self
.gid
.unwrap_or
(
0
);
let
uid
=
self
.uid
.unwrap_or
(
-
1
);
let
gid
=
self
.gid
.unwrap_or
(
-
1
);
// chmod
fs
::
set_permissions
(
path
,
fs
::
Permissions
::
from_mode
(
mode
))
?
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment