Bug #9574

Research if Tails Installer can work as non-root outside of Tails

Added by intrigeri 2015-06-15 08:04:07 . Updated 2015-06-16 03:57:00 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Installation
Target version:
Start date:
2015-06-15
Due date:
% Done:

0%

Feature Branch:
Type of work:
Test
Blueprint:

Starter:
Affected tool:
Installer
Deliverable for:

Description

See Feature #8556 and the Git history of config/chroot_local-includes/etc/udev/rules.d/99-make-removable-devices-user-writable.rules.


Subtasks


History

#1 Updated by intrigeri 2015-06-15 08:05:40

  • Assignee deleted (None)

u., can you please test that? commit:c8f0b59 says “Tails Installer requires raw block device access to such devices”, but I don’t remember which exact part of the code needs it. It might be that it only affects code paths that won’t be used in Debian. Also see Debian bug 788662 for a recent discussion on this topic, that made me notice that we may have a problem here.

#2 Updated by Anonymous 2015-06-15 12:26:18

Right now, if i run the installer as a normal user i get:

‘/sbin/sgdisk’, ‘—attributes=1:set:0’, ‘—attributes=1:set:2’, ‘—attributes=1:set:60’, ‘—attributes=1:set:62’, ‘—attributes=1:set:63’, ‘/dev/sdb’]
Problem opening /dev/sdb for reading! Error is 13.
You must run this program as root or use sudo!

#3 Updated by intrigeri 2015-06-16 01:23:30

> Right now, if i run the installer as a normal user i get:
> […]
> Problem opening /dev/sdb for reading! Error is 13.
> You must run this program as root or use sudo!

OK, that’s what I expected :/

=> please close this ticket (as the research has been done) and file a new one about dealing with that, somehow.

#4 Updated by Anonymous 2015-06-16 03:57:00

  • Status changed from Confirmed to Resolved