Project

General

Profile

Bug #992

Incorrect permissions

Anonymous - about 8 years ago - . Updated almost 8 years ago.

Status:
fixed
Priority:
bug
Category:
-
Assignee:
-
% Done:

100%


Description

There are problems with file permissions on the live system:

  • Some files/directories are owned by a nonexistent user/group 1003, for instance:
    root@parabolaiso ~ # ls -ld /etc/sudoers.d
    drwxr-x---+ 2 1003 1003 4096 Feb 21  2015 /etc/sudoers.d

    Incorrect ownership makes e.g., sudo emit warning messages.
  • Many directories have default ACL entries set, for instance:
    root@parabolaiso ~ # ls -ld /root
    drwxr-xr-x+ 4 root root 4096 Apr 24 10:18 /root

    This pollutes file permissions when files are moved from the live system to the installed system, e.g., when moving files from /root to /mnt.

History

#1

Updated by Anonymous almost 8 years ago

I think this is caused by a permission leak coming from the maintainer's system. I've successfully made an ISO without these problems just by following steps detailed in https://wiki.archlinux.org/index.php/Archiso and making sure to keep file permissions right. To keep them right some adjustments have to be made. Command:

# cp -r /usr/share/archiso/configs/profile/* ~/archlive

needs to be altered by adding the -a switch:

# cp -ar /usr/share/archiso/configs/profile/* ~/archlive

Also, if the maintainer uses ACLs, they need to be removed before copying anything into ~/archlive with:

# setfacl -b ~/archlive

However, I think it'd be better to build ISO images in a clean chroot, as it's the case for packages in Parabola repositories.

#2

Updated by Anonymous almost 8 years ago

May I ask the hacker in charge of creating ISO images to build a new one, with the issues I've described fixed?

#3

Updated by calmstorm almost 8 years ago

niitotantei wrote:

May I ask the hacker in charge of creating ISO images to build a new one, with the issues I've described fixed?

I would also like that, this problem keeps messing with me...

#4

Updated by Anonymous almost 8 years ago

  • Assignee set to Anonymous
  • Status changed from open to in progress
#5

Updated by Anonymous almost 8 years ago

  • % Done changed from 0 to 100
  • Status changed from in progress to fixed
#6

Updated by calmstorm almost 8 years ago

niitotantei wrote:

There are problems with file permissions on the live system:

  • Some files/directories are owned by a nonexistent user/group 1003, for instance:
    [...]
    Incorrect ownership makes e.g., sudo emit warning messages.
  • Many directories have default ACL entries set, for instance:
    [...]
    This pollutes file permissions when files are moved from the live system to the installed system, e.g., when moving files from /root to /mnt.

is this fixed in the current iso/a way to fix it for the current iso...

Also available in: Atom PDF