Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #183650
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to gain control over the system? |
| Date | 2017-07-13 16:30 +0200 |
| Message-ID | <u2NhT-6IB-1@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <u2eWS-1xs-7@gated-at.bofh.it> <u2JxD-4oH-3@gated-at.bofh.it> <u2Kk1-4UU-9@gated-at.bofh.it> <u2Mc9-664-3@gated-at.bofh.it> <u2Mc9-664-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 13 Jul 2017 at 15:11:59 (+0200), tomas@tuxteam.de wrote: > On Thu, Jul 13, 2017 at 01:34:39PM +0200, Kaj Persson wrote: > > [...] > > [added cc debian-user] > > > Can you have this defined from /etc/fstab too? I have had no success > > in that. > > This line in the fstab works for me (note: no systemd here; systemd > is known to do things with mounting, so results may vary): > > # <file system> <mount point> <type> <options> <dump> <pass> > /dev/sdb1 /media/usb0 auto rw,user,noauto,uid=tomas,gid=tomas 0 0 > > Season to taste :-) > > Fixed entries in fstab are of limited use for removable media, though: > you never know which device your stick appears as (you might use label > or UUID, depending on your use case). Another way that works for me is lines like: UUID=2017-0401 /media/esxplore4g vfat rw,errors=remount-ro,utf8,shortname=lower,user,noauto,fmask=137,dmask=027 With this, whoever mounts it owns it and gets rw-r----- (files) and drwxr-x--- (directories). All our sticks/cards etc have individual mount points, and mount by UUID (fat) or LABEL (ext/fat). The mount points are all created drwx------ root root with identical timestamps, so any with devices mounted on them can easily be spotted. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 00:10 +0200
Re: How to gain control over the system? Oflameo <oflameo2@gmail.com> - 2017-07-09 00:30 +0200
Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 01:00 +0200
Re: How to gain control over the system? Anders Andersson <pipatron@gmail.com> - 2017-07-09 11:30 +0200
Re: How to gain control over the system? Dejan Jocic <jodejka@gmail.com> - 2017-07-09 12:00 +0200
Re: How to gain control over the system? davidson@freevolt.org - 2017-07-09 01:30 +0200
Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 12:10 +0200
Re: How to gain control over the system? Richard Owlett <rowlett@cloud85.net> - 2017-07-09 13:50 +0200
Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 15:10 +0200
Re: How to gain control over the system? [a security-side-note] Eike Lantzsch <zp6cge@gmx.net> - 2017-07-09 16:00 +0200
Re: How to gain control over the system? [a security-side-note] Dejan Jocic <jodejka@gmail.com> - 2017-07-09 16:20 +0200
Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-09 19:00 +0200
Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 19:10 +0200
Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-09 23:40 +0200
Re: How to gain control over the system? Felix Miata <mrmazda@earthlink.net> - 2017-07-10 01:40 +0200
Re: How to gain control over the system? Kaj Persson <70147persson@telia.com> - 2017-07-11 22:40 +0200
Re: How to gain control over the system? David Wright <deblis@lionunicorn.co.uk> - 2017-07-11 23:00 +0200
Re: How to gain control over the system? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-11 23:10 +0200
Re: How to gain control over the system? Felix Miata <mrmazda@earthlink.net> - 2017-07-12 03:50 +0200
Re: How to gain control over the system? Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-12 14:30 +0200
Re: How to gain control over the system? Kaj Persson <kape_fin@algonet.se> - 2017-07-13 12:30 +0200
Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-13 13:20 +0200
Re: How to gain control over the system? Fungi4All <fungilife@protonmail.com> - 2017-07-13 14:20 +0200
Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-13 15:20 +0200
Re: How to gain control over the system? tomas@tuxteam.de - 2017-07-13 15:20 +0200
Re: How to gain control over the system? David Wright <deblis@lionunicorn.co.uk> - 2017-07-13 16:30 +0200
Re: How to gain control over the system? Jimmy Johnson <field.engineer@gmail.com> - 2017-07-09 22:30 +0200
Re: How to gain control over the system? Kaj Persson <kape_fin@algonet.se> - 2017-07-10 00:40 +0200
Re: How to gain control over the system? Jimmy Johnson <field.engineer@gmail.com> - 2017-07-10 00:50 +0200
Re: How to gain control over the system? Joel Rees <joel.rees@gmail.com> - 2017-07-10 03:10 +0200
Re: How to gain control over the system? Dejan Jocic <jodejka@gmail.com> - 2017-07-10 10:00 +0200
Re: How to gain control over the system? RavenLX <ravenlx@sitesplace.net> - 2017-07-12 14:40 +0200
Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-12 15:30 +0200
Re: How to gain control over the system? RavenLX <ravenlx@sitesplace.net> - 2017-07-16 15:50 +0200
Re: How to gain control over the system? <tomas@tuxteam.de> - 2017-07-16 16:50 +0200
csiph-web