X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sun, 11 Apr 2010 17:10:47 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: How to set full control to Everyone on USB hard drive files and directories? Message-ID: <20100411151047.GT28908@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Apr 11 17:06, Fr?d?ric Bron wrote: > 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. > From cygwin: > $ touch foo > gives: > Domain Users = Read > MySelf = Read/Write > Everybody = Read > But I would like only Everybody = 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? In Cygwin, create a mount entry for the drive and add the "noacl" flag. Then set the permissions on the root dir of the drive to full control for Everyone and make sure permissions are propagted to child objects. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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