Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
65d865d9
Commit
65d865d9
authored
Nov 08, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Refuse to use a WINEPREFIX dir owned by a different user.
parent
9adf83e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
config.c
libs/wine/config.c
+1
-0
No files found.
libs/wine/config.c
View file @
65d865d9
...
...
@@ -230,6 +230,7 @@ static void init_paths(void)
}
}
if
(
!
S_ISDIR
(
st
.
st_mode
))
fatal_error
(
"%s is not a directory
\n
"
,
config_dir
);
if
(
st
.
st_uid
!=
getuid
())
fatal_error
(
"%s is not owned by you
\n
"
,
config_dir
);
init_server_dir
(
st
.
st_dev
,
st
.
st_ino
);
}
...
...
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