FS#19805 - Installer applies filesystem changes without user permission
Attached to Project:
Release Engineering
Opened by Mihai Militaru (akephalos) - Tuesday, 15 June 2010, 13:39 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Thursday, 09 December 2010, 09:29 GMT
Opened by Mihai Militaru (akephalos) - Tuesday, 15 June 2010, 13:39 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Thursday, 09 December 2010, 09:29 GMT
|
Details
Using the installer to edit the partitions will apply the
format changes even if the user chooses "Cancel" instead of
"OK". An user is trapped into formatting the partitions
without intention (in case of a mistake, mistype, keyboard
malfunctioning, etc), possibly leading to severe loss of
data. Only in case of a warning (for example no separate
/boot partition) the user has the chance to realize what's
going to happen and stop the operation, cancelling again or
pressing Ctrl+C.
To reproduce: - boot from the Arch installation ISO - I tried the dual boot cd - both architectures and the x86_64 image. - run through the setup steps until reaching "Prepare Hard Drives" - (optionally) Manually Partition Hard Drives - enter "Manually Configure block devices, filesystems and mountpoints" - choose a mount method (I tried both "dev" and "label") - configure your future partitions with new filesystem types, make sure you have a separate /boot partition and a swap one. These changes _will apply_ so take care (I used more configurations, eg: /boot 50m ext2, swap 1000m, / 1000m ext4, /home 2000m xfs) - at this point you change your mind, and press Alt+C or select and activate the "Cancel" button Now the message window appears, the labelling, formatting and mounting operations begin. |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
Thursday, 09 December 2010, 09:29 GMT
Reason for closing: Fixed
Thursday, 09 December 2010, 09:29 GMT
Reason for closing: Fixed
I removed that change, partly because it was not worded well, and partly because the Beginners' Guide is intended to describe the setup process with current installation media. Thanks for suggesting Ctrl-C as a way to leave the installer, though; I didn't know whether that would work.
http://projects.archlinux.org/aif.git/commit/?id=c9b9f86c9debc4564b354cbdc29daa9ccaa71169