delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/11/11:07:07

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=BAYES_05,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: =?UTF-8?B?RnLDqWTDqXJpYyBCcm9u?= <frederic DOT bron AT m4x DOT org>
Date: Sun, 11 Apr 2010 17:06:30 +0200
Message-ID: <s2ya9a39a211004110806r3d50976cqe00d7e42555fa1f0@mail.gmail.com>
Subject: How to set full control to Everyone on USB hard drive files and directories?
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I have some USB hard drives. Up to now I used them formatted in fat32.
Because of the new git version that does not work properly on fat32
drives, I decided to format my disks in ntfs.
Following advices on this list, I removed all default users from root
dir of the USB drives and left only Everyone with full control.
I want to be able to read/write on these USB disks from any computer,
from Windows or Cygwin. Nothing has to be protected.

I expected all new files would get full control for Everyone and no
other permissions. Unfortunately that is true only from Windows, not
from cygwin.
=46rom cygwin:
$ touch foo
gives:
   Domain Users =3D Read
   MySelf =3D Read/Write
   Everybody =3D Read
But I would like only Everybody =3D Full control.

$ mkdir bar
gives "permissions are not in the right order" when I right click from
Windows on bar and click on security tab.

How can I have all files on these drives with only 1 user, i.e.
Everyone with full control so that I am sure I can read/write the data
from any computer?

Fr=C3=A9d=C3=A9ric

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019