This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A permissions puzzle


Greetings, Eliot Moss!

>> For things outside Cygwin root, I strongly suggest "noacl" option.

>> Then you won't even need to chown or chmod, except in dire circumstances,
>> where some careless program forcibly set permissions to something like 0750.

> So how would I do that for a removable NTFS drive?

Even more reason not to use emulated POSIX permissions.

> It's not certain what drive letter it will pop up under.

Don't use drive letters, and you will reduce the vector of attack on your
system significantly.

> Of course the drive has a specific label, but I am not sure if/how that can be used ...
> getVolInfo can get it, of course, but this seems beyond the semantics of mount and fstab ...

Drive has specific network path, use it.

> I'm not saying I _need_ to do this; I got things going for now.


-- 
With best regards,
Andrey Repin
Sunday, December 22, 2019 15:32:57

Sorry for my terrible english...


--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]