xbps_unpack_binary_pkg: set INSTALL/REMOVE perms to 0750.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091211095846-kwszryu1wlho39eq
This commit is contained in:
parent
6c2a648510
commit
279219a348
@ -190,6 +190,7 @@ unpack_archive_fini(struct archive *ar, prop_dictionary_t pkg)
|
||||
|
||||
actgt = true;
|
||||
archive_entry_set_pathname(entry, buf);
|
||||
archive_entry_set_mode(entry, 0750);
|
||||
|
||||
if (archive_read_extract(ar, entry, lflags) != 0) {
|
||||
if ((rv = archive_errno(ar)) != EEXIST) {
|
||||
@ -220,6 +221,8 @@ unpack_archive_fini(struct archive *ar, prop_dictionary_t pkg)
|
||||
if (buf2 == NULL)
|
||||
return errno;
|
||||
archive_entry_set_pathname(entry, buf2);
|
||||
archive_entry_set_mode(entry, 0750);
|
||||
|
||||
free(buf2);
|
||||
buf2 = NULL;
|
||||
} else if (strcmp("./files.plist", entry_str) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user