public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: A permissions puzzle
Date: Mon, 23 Dec 2019 16:58:00 -0000	[thread overview]
Message-ID: <01d0dcff-46fc-160e-e2a1-dfbc65ed9829@cs.umass.edu> (raw)
In-Reply-To: <df027ef8-3a57-c596-957a-7cd6ea5a74ea@SystematicSw.ab.ca>

On 12/23/2019 3:55 AM, Brian Inglis wrote:> On 2019-12-22 20:16, Eliot Moss wrote:
 >>
 >> So can a \\?\Volume{...} guid name for a volume be used in Cygwin's fstab?
 >> What would the syntax be like for that?
 >
 > Each entry must be on a single line:
 >
 > #|/bin/cygwin1.dll
 > # /etc/fstab - https://cygwin.com/cygwin-ug-net/using.html#mount-table
 > #                                                               dump	dump
 > # mixed path	 file		vfstype		mntops		freq	passno
 > #C:/cygwin64	 /		ntfs		auto,binary	1	1
 > #C:/cygwin64/bin /usr/bin	ntfs		auto,binary	1	1
 > #C:/cygwin64/lib /usr/lib	ntfs		auto,binary	1	1
 > #C:		 /cygdrive/c	ntfs		auto,binary,posix=0,noumount,	
 > 							user	1	1
 > #none		 /cygdrive	cygdrive	auto,binary,posix=0,	
 > 							user	0	0
 > #none		 /tmp		usertemp	binary,posix=0	0	0
 > //?/Volume{...}	 /media/name	fat|ntfs	[no]acl*,binary*|text,bind,dos,
 > 						[cyg|not]exec,ihash,override,
 > 						posix=0|1*,sparse,[no]umount*,
 > 						[no*]user	0	0
 > #						defaults flagged *

Thank you, Brian.  I have tried this:

none /cygdrive cygdrive binary,posix=0,user 0 0
//?/Volume{13cb9114-4267-4a7b-8c14-2cbc4bbeecad} /media/backup ntfs noacl,binary,posix=0,user 0 0

The uid is what is shown in /proc/sys/GLOBAL??/Volume{...} and /media exists.

mount -a says:  mount: /media/backup: Invalid argument

I tried also creating an empty directory /media/backup, with the same result.

The drive sill mounts automatically on /cygdrive/d (as I would expect).

Thoughts?

Eliot

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2019-12-23 14:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-21  3:08 Eliot Moss
2019-12-21 14:35 ` Eliot Moss
2019-12-21 14:50   ` Eliot Moss
2019-12-21 15:42 ` Andrey Repin
     [not found]   ` <5a63e3e3-6157-e3f4-8bce-e2c671647604@cs.umass.edu>
2019-12-22 13:08     ` Andrey Repin
2019-12-22 17:50       ` Eliot Moss
2019-12-22 22:24         ` Brian Inglis
2019-12-23  6:16           ` Eliot Moss
2019-12-23 14:35             ` Brian Inglis
2019-12-23 16:58               ` Eliot Moss [this message]
2019-12-24 23:11         ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01d0dcff-46fc-160e-e2a1-dfbc65ed9829@cs.umass.edu \
    --to=moss@cs.umass.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).