mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-30 03:53:25 -04:00
create dirs with 755, not 777
This commit is contained in:
@@ -60,7 +60,7 @@ export_dir (int source_parent_fd,
|
||||
goto out;
|
||||
|
||||
do
|
||||
res = mkdirat (destination_parent_fd, destination_name, 0777);
|
||||
res = mkdirat (destination_parent_fd, destination_name, 0755);
|
||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||
if (res == -1)
|
||||
{
|
||||
|
||||
@@ -1241,7 +1241,7 @@ export_dir (int source_parent_fd,
|
||||
goto out;
|
||||
|
||||
do
|
||||
res = mkdirat (destination_parent_fd, destination_name, 0777);
|
||||
res = mkdirat (destination_parent_fd, destination_name, 0755);
|
||||
while (G_UNLIKELY (res == -1 && errno == EINTR));
|
||||
if (res == -1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user