forked from Mirrors/flatpak-builder
create dirs with 755, not 777
parent
9d1cfd7688
commit
c87e7e4e4f
|
@ -60,7 +60,7 @@ export_dir (int source_parent_fd,
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
do
|
do
|
||||||
res = mkdirat (destination_parent_fd, destination_name, 0777);
|
res = mkdirat (destination_parent_fd, destination_name, 0755);
|
||||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||||
if (res == -1)
|
if (res == -1)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1241,7 +1241,7 @@ export_dir (int source_parent_fd,
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
do
|
do
|
||||||
res = mkdirat (destination_parent_fd, destination_name, 0777);
|
res = mkdirat (destination_parent_fd, destination_name, 0755);
|
||||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||||
if (res == -1)
|
if (res == -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue