Skip to content

Commit

Permalink
utils: Remove leftover g_chmod()
Browse files Browse the repository at this point in the history
The file has set the attributes after commit c6903ab,
thus this is not needed.

If it was meant to set the executable flag on the parent directory, then it
is not needed either, at least according to my tests. The `path_dest` points
to the installed file here, not to the parent directory.

Closes #681
  • Loading branch information
mcrha committed Jan 16, 2025
1 parent 4eb8487 commit 3391808
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/as-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,6 @@ as_utils_install_metadata_file_internal (const gchar *filename,
return FALSE;
}

g_chmod (path_dest, 0755);
return TRUE;
}

Expand Down

0 comments on commit 3391808

Please sign in to comment.