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


Groups > linux.debian.user > #179348

Re: Encrypted flash drives

From Mark Fletcher <mark27q1@gmail.com>
Newsgroups linux.debian.user
Subject Re: Encrypted flash drives
Date 2017-03-26 12:00 +0200
Message-ID <tpd7Q-6vi-11@gated-at.bofh.it> (permalink)
References <tpclr-68z-11@gated-at.bofh.it> <tpcv8-6bZ-7@gated-at.bofh.it> <tpcEN-6f8-5@gated-at.bofh.it> <tpcOu-6ir-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Mar 26, 2017 at 11:31:19AM +0200, Nicolas George wrote:
> Le sextidi 6 germinal, an CCXXV, Mark Fletcher a écrit :
> > Yeah I guess so, but chmod or chown of WHAT, though?
> 
> Of the root directory of the drive, i.e. the directory where it is
> mounted: chown you /media/mark/drive while it is mounted.
> 
Thanks for the quick reply. I've got mixed success to report from that.

When I plug in the device, open Files manually, click on "8.1GB 
Encrypted" and supply the passphrase, it mounts the drive at 
/media/mark/really-long-string-of-letters-and-numbers

That was owned by root. I did chown mark:mark <same really long string 
of letters and numbers> and verified the ownership had changed. 
Everything inside that directory, ie on the drive, is already owned by 
user mark. And to confirm, I am logged into Gnome as mark.

After executing that chown command and before ejecting the drive, the 
"New Folder" etc commands on the Files right-click menu were enabled, 
where previously they had been disabled, suggesting Files now felt it 
could write to the disk.

I ejected the volume. The really long string of letters and numbers in 
/media/mark disappeared, as expected.

I removed the drive and re-inserted it. No response from Gnome. I fired 
up Files again manually, and saw "8.1GB Encryted" as before. Clicking on 
that and supplying the passphrase mounted the device, as before. Again 
it is mounted in /media/mark/blahdiblahdiblah (this time it was 
/media/mark/138b9d59-b0cd-49cc-a738-8fecea5f0035 to be precise, I am not 
sure if that is identical to before but suspect so).

That directory in /media/mark was owned by... mark this time! BUT, Files 
has the New Folder command greyed out, indicating it does NOT think it 
can write to this device. And I cannot paste anything into the device's 
pane in Files. BUT AGAIN, at the command line, as mark, I went into 
/media/mark/138b9d59-b0cd-49cc-a738-8fecea5f0035 and typed touch 
test.txt and lo and behold the file was created. So now I have a 
confused Files / Nautilus on top of everything else...

So perms are fixed in fact but not according to the Files application. 
And detection and auto-prompting for the passphrase on connect is not 
working for this device but is working for the identical one I formatted 
properly with Files. I'd like to un-confuse Files and get autodetection 
working.

Mark

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


Thread

Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-26 11:10 +0200
  Re: Encrypted flash drives Nicolas George <george@nsup.org> - 2017-03-26 11:20 +0200
    Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-26 11:30 +0200
      Re: Encrypted flash drives Nicolas George <george@nsup.org> - 2017-03-26 11:40 +0200
        Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-26 12:00 +0200
          Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-03-26 12:10 +0200
          Re: Encrypted flash drives Nicolas George <george@nsup.org> - 2017-03-26 12:30 +0200
            Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-27 01:40 +0200
              Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-03-27 10:10 +0200
                [off topic] Re: Encrypted flash drives "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-27 10:30 +0200
                Re: [off topic] Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-03-27 11:50 +0200
                [off topic] Re: Encrypted flash drives "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-27 13:00 +0200
                Re: [off topic] Re: Encrypted flash drives kAt <giathnygeia@openmailbox.org> - 2017-03-28 00:30 +0200
                Re: [off topic] Re: Encrypted flash drives "Thomas Schmitt" <scdbackup@gmx.net> - 2017-03-28 12:50 +0200
                Re: [way off topic] Re: Encrypted flash drives David Wright <deblis@lionunicorn.co.uk> - 2017-03-28 16:10 +0200
                Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-27 16:10 +0200
                Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-03-27 16:40 +0200
                Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-03-27 17:00 +0200
                Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-03-27 21:40 +0200
                Re: Encrypted flash drives Mark Fletcher <mark27q1@gmail.com> - 2017-04-03 14:10 +0200
                Re: Encrypted flash drives <tomas@tuxteam.de> - 2017-04-03 15:10 +0200
                Re: Encrypted flash drives Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-04-03 18:40 +0200

csiph-web