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


Groups > linux.debian.user > #174917

Re: Coercing sane file permissions -- site specific

From Joe <joe@jretrading.com>
Newsgroups linux.debian.user
Subject Re: Coercing sane file permissions -- site specific
Date 2016-11-20 15:00 +0100
Message-ID <sFAOZ-3bD-23@gated-at.bofh.it> (permalink)
References (1 earlier) <sFkAx-1jK-1@gated-at.bofh.it> <sFz6x-2lg-11@gated-at.bofh.it> <sFzge-2qN-7@gated-at.bofh.it> <sFzzz-2wT-7@gated-at.bofh.it> <sFzzz-2wT-19@gated-at.bofh.it>
Organization JRE Trading Ltd

Show all headers | View raw


On Sun, 20 Nov 2016 13:33:51 +0100
Nicolas George <george@nsup.org> wrote:

> Le decadi 30 brumaire, an CCXXV, Richard Owlett a écrit :
> > Not as I read them.  
> 
> Then you did not read correctly.
> 
> > They give methods of handling an explicitly specified device.  
> 
> Tomas' answer contains the solution to your problem: the umask mount
> option. This it, no more no less.
> 
> To know how to actually use it, re-read Tomas' answer, RTFM, RTFW or
> hire a consultant. But you have your answer.

Tomas' answer contains *a* solution, for a specific device. 

There *is* a generic answer, which requires no fstab entry, but I have
to admit that I haven't a clue what it is.

I'm running sid with systemd, with absolutely nothing in /etc/fstab
which refers to USB sticks, but nonetheless any USB stick inserted is
recognised and automounted under /media/joe (maybe immediately and maybe
on access, I'm not sure, but it shows instantly in file managers) with
everything in a FAT partition having ownership of joe:me and
permissions of 644. Ext partitions have their own permissions, as
expected.

This all Just Works, and I have no idea what configuration it depends
on. "I didn't build this," sid basically builds and rebuilds itself, so
I tend to keep my fingers out of the works. I do know that USB sticks
were a real pain with usbmount, which *sometimes* mounted the entire
device instead of the partitions, and at some point, things just
started working better.

There is nothing in /etc/polkit-1, /etc/udev or /etc/udisks2 referring
to USB sticks, which are the most likely suspects as far as I can see.
Presumably the culprit is systemd, as usual, so possibly someone more
knowledgable about this beast can finish my part-answer.

-- 
Joe

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