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: How to set full control to Everyone on USB hard drive files and directories?

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

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