Skip to content

Commit

Permalink
Fix .flatpak-cache symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlarsson committed Oct 26, 2017
1 parent 3f1ffd1 commit ec8efa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/flatpak-dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ flatpak_ensure_system_user_cache_dir_location (GError **error)
/* Must be owned by us */
st_buf.st_uid == getuid () &&
/* and not writeable by others */
(st_buf.st_mode & 0022) != 0)
(st_buf.st_mode & 0022) == 0)
return g_file_new_for_path (path);

path = g_strdup ("/var/tmp/flatpak-cache-XXXXXX");
Expand Down

0 comments on commit ec8efa4

Please sign in to comment.