Skip to content
Snippets Groups Projects
Commit 65d865d9 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

libwine: Refuse to use a WINEPREFIX dir owned by a different user.

parent 9adf83e9
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment