Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174953

Re: Coercing sane file permissions -- site specific

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Coercing sane file permissions -- site specific
Date 2016-11-21 14:20 +0100
Message-ID <sFWFQ-1DY-9@gated-at.bofh.it> (permalink)
References <sFj1L-ga-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Nov 19, 2016 at 12:51:58PM -0600, Richard Owlett wrote:
> I use fat16 and fat32 formatted USB flash drives

> When I plug one into my Debian machine I want totally unfettered 
> read/write access.
> [when logged in as root or *ANY* user ID]

You can't.

You have to be root to mount one of these things, or to edit the
/etc/fstab file to give an ordinary user the permission to mount one of
these things.

Didn't we tell you this multiple times over the last several weeks?
Yes, we did.

AS ROOT, you can determine the device name (which is dynamically
generated every time you plug it in), and then mount it with some
commands like:

mkdir -p /usb
mount -o uid=richard /dev/sdb1 /usb

Where /dev/sdb1 is the partition you want to mount, and /usb is a
directory you create specifically for the purpose of mounting the
device onto.  And "richard" is the username you want the files to
appear to be owned by.

ONCE IT IS MOUNTED, then user "richard" can read and write to the
files and directories.

To unmount it, you have to be root again.  And then it's simply:

umount /usb

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-19 20:00 +0100
  Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-19 21:40 +0100
    Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 13:10 +0100
      Re: Coercing sane file permissions -- site specific Nicolas George <george@nsup.org> - 2016-11-20 13:20 +0100
        Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 13:40 +0100
          Re: Coercing sane file permissions -- site specific Nicolas George <george@nsup.org> - 2016-11-20 13:40 +0100
            Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 14:20 +0100
            Re: Coercing sane file permissions -- site specific Joe <joe@jretrading.com> - 2016-11-20 15:00 +0100
              Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-20 15:20 +0100
                Re: Coercing sane file permissions -- site specific Joe <joe@jretrading.com> - 2016-11-20 17:50 +0100
                Re: Coercing sane file permissions -- site specific The Wanderer <wanderer@fastmail.fm> - 2016-11-20 18:30 +0100
                Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-20 19:00 +0100
              Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 15:20 +0100
                Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 15:50 +0100
                Re: Coercing sane file permissions -- site specific Joe <joe@jretrading.com> - 2016-11-20 17:20 +0100
              Re: Coercing sane file permissions -- site specific rhkramer@gmail.com - 2016-11-20 15:40 +0100
              Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 18:50 +0100
              Re: Coercing sane file permissions -- site specific Nicolas George <george@nsup.org> - 2016-11-20 19:50 +0100
                Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 20:50 +0100
                Re: Coercing sane file permissions -- site specific Joe <joe@jretrading.com> - 2016-11-20 20:50 +0100
                Re: Coercing sane file permissions -- site specific Nicolas George <george@nsup.org> - 2016-11-20 21:10 +0100
      Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-20 15:40 +0100
  Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 00:10 +0100
    Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 03:00 +0100
      Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 14:40 +0100
        Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-20 14:50 +0100
          Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-20 18:50 +0100
  MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site  specific] Richard Owlett <rowlett@cloud85.net> - 2016-11-20 21:30 +0100
    Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions --  site specific] Brian <ad44@cityscape.co.uk> - 2016-11-20 22:00 +0100
      Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific] Lisi Reisz <lisi.reisz@gmail.com> - 2016-11-21 13:50 +0100
        Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions --  site specific] Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2016-11-21 14:30 +0100
          Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific] Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-21 14:40 +0100
            Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions --  site specific] <tomas@tuxteam.de> - 2016-11-21 15:20 +0100
              Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific] rhkramer@gmail.com - 2016-11-21 16:40 +0100
                Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions --  site specific] Brian <ad44@cityscape.co.uk> - 2016-11-21 17:30 +0100
                Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions -- site specific] rhkramer@gmail.com - 2016-11-21 17:50 +0100
              Re: MURPHY'S LAW RULES - was [Re: Coercing sane file permissions --  site specific] David Wright <deblis@lionunicorn.co.uk> - 2016-11-21 18:30 +0100
                [off list] Re: MURPHY'S LAW RULES - was [Re: Coercing sane file  permissions -- site specific] Richard Owlett <rowlett@cloud85.net> - 2016-11-22 16:00 +0100
                Re: [off list] Re: MURPHY'S LAW RULES - was [Re: Coercing sane file  permissions -- site specific] Brian <ad44@cityscape.co.uk> - 2016-11-22 19:00 +0100
                Re: [off list] Re: MURPHY'S LAW RULES - was [Re: Coercing sane file  permissions -- site specific] Brian <ad44@cityscape.co.uk> - 2016-11-24 19:00 +0100
  Re: Coercing sane file permissions -- site specific Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-21 14:20 +0100
    Re: Coercing sane file permissions -- site specific Darac Marjal <mailinglist@darac.org.uk> - 2016-11-21 15:00 +0100
      Re: Coercing sane file permissions -- site specific Darac Marjal <mailinglist@darac.org.uk> - 2016-11-21 15:10 +0100
        Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-21 15:20 +0100
          Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-21 17:40 +0100
            Re: Coercing sane file permissions -- site specific <tomas@tuxteam.de> - 2016-11-21 18:20 +0100
              Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-21 18:40 +0100
                Re: Coercing sane file permissions -- site specific Joe <joe@jretrading.com> - 2016-11-21 19:50 +0100
                Re: Coercing sane file permissions -- site specific Brian <ad44@cityscape.co.uk> - 2016-11-21 20:40 +0100
                Re: Coercing sane file permissions -- site specific rhkramer@gmail.com - 2016-11-21 21:50 +0100
                Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-22 16:10 +0100
                Re: Coercing sane file permissions -- site specific Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-22 16:20 +0100
                Re: Coercing sane file permissions -- site specific Richard Owlett <rowlett@cloud85.net> - 2016-11-22 16:40 +0100
                Re: Coercing sane file permissions -- site specific Lisi Reisz <lisi.reisz@gmail.com> - 2016-11-22 17:00 +0100
                Re: Coercing sane file permissions -- site specific Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-22 17:00 +0100

csiph-web