Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #206020
| From | Pascal Hambourg <pascal@plouf.fr.eu.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: User rw Permissions on New Hard Drive |
| Date | 2019-03-05 20:20 +0100 |
| Message-ID | <xynLz-2CK-1@gated-at.bofh.it> (permalink) |
| References | <xwAMV-LG-5@gated-at.bofh.it> <xwG5X-48O-1@gated-at.bofh.it> <xyj5f-88c-7@gated-at.bofh.it> <xyj5f-88c-9@gated-at.bofh.it> <xyj5f-88c-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Le 05/03/2019 à 15:17, Stephen P. Molnar a écrit : > > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda 8:0 0 465.8G 0 disk > ├─sda1 8:1 0 457.9G 0 part / > ├─sda2 8:2 0 1K 0 part > └─sda5 8:5 0 7.9G 0 part [SWAP] > sdb 8:16 0 1.8T 0 disk > ├─sdb1 8:17 0 1.8T 0 part > /media/comp/900b5f0b-4f3d-4a64-8c91-29aee4c6fd07 > ├─sdb2 8:18 0 1K 0 part > └─sdb5 8:21 0 7.9G 0 part > sdc 8:32 0 465.8G 0 disk > └─sdc1 8:33 0 465.8G 0 part > /media/comp/1f363165-2c59-4236-850d-36d1e807099e > sr0 11:0 1 1024M 0 rom (...) > Here is wwhat I'm proposing: > > /dev/hda1 / ext4 defaults 0 1 > /dev/hda5 none swap sw 0 0 > /dev/hdb1 /hdb1 ext4 defaults 0 0 > /dev/hdc1 /hdc1 ext4 defaults 0 0 > > There are two key questions: > > 1. Will the boot proceed to completion? No. /dev/hd* do not exist. > 2. Will users have read/write permission? No. At best, you will end up in emergency mode with a read-only root filesystem. > Finally, if the answer(s), to either or both, is/are 'no' - what should > the fstab entries be in order to allow users to Read/Write? Leave existing / and swap lines as they are. Device names /dev/sd* are not persistent and may change at each boot. Use UUID or LABEL instead of device names to identify the filesystem. Do not name mount points after supposed device names. Choose names based on contents instead. Finally, user permissions are not set in fstab. They are set in the filesystem itself, using chown/chmod if you are using standard Unix permissions or setfacl if you are going with ACLs.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-02-28 21:50 +0100
Re: User rw Permissions on New Hard Drive Dekks Herton <dekkzz78@gmail.com> - 2019-03-01 02:00 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 03:30 +0100
Re: User rw Permissions on New Hard Drive Felix Miata <mrmazda@earthlink.net> - 2019-03-01 04:50 +0100
Re: User rw Permissions on New Hard Drive Cindy-Sue Causey <butterflybytes@gmail.com> - 2019-03-01 07:40 +0100
Re: string "defaults" in fstab options columns (was: User rw Permissions on New Hard Drive) Felix Miata <mrmazda@earthlink.net> - 2019-03-01 09:00 +0100
Re: string "defaults" in fstab options columns (was: User rw Permissions on New Hard Drive) David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:00 +0100
Re: string "defaults" in fstab options columns Felix Miata <mrmazda@earthlink.net> - 2019-03-01 19:30 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:00 +0100
Re: User rw Permissions on New Hard Drive Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-01 18:10 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:40 +0100
Re: User rw Permissions on New Hard Drive Dekks Herton <dekkzz78@gmail.com> - 2019-03-01 08:40 +0100
Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-01 15:40 +0100
Re: User rw Permissions on New Hard Drive Stefan Monnier <monnier@iro.umontreal.ca> - 2019-03-01 18:50 +0100
Re: User rw Permissions on New Hard Drive Reco <recoverym4n@enotuniq.net> - 2019-03-01 19:10 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-01 18:20 +0100
Re: User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-05 15:20 +0100
Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-05 20:20 +0100
Re: User rw Permissions on New Hard Drive "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-06 23:50 +0100
Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 15:40 +0100
Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 16:10 +0100
Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 18:20 +0100
Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 19:10 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-07 20:30 +0100
Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-07 22:10 +0100
Re: User rw Permissions on New Hard Drive Michael Stone <mstone@debian.org> - 2019-03-07 22:30 +0100
Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-08 01:30 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-08 03:20 +0100
Re: User rw Permissions on New Hard Drive Cousin Stanley <cousinstanley@gmail.com> - 2019-03-08 07:10 +0100
Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-07 23:20 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-08 04:20 +0100
Re: User rw Permissions on New Hard Drive Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-08 14:30 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-09 05:30 +0100
Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-09 20:40 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-11 19:50 +0100
Re: User rw Permissions on New Hard Drive Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-03-16 10:50 +0100
Re: User rw Permissions on New Hard Drive David Wright <deblis@lionunicorn.co.uk> - 2019-03-17 16:30 +0100
Re: User rw Permissions on New Hard Drive Felix Miata <mrmazda@earthlink.net> - 2019-03-07 18:20 +0100
csiph-web