1.7: cygdrive files readonly by default

Vince Indriolo vinceind@gmail.com
Wed Sep 2 21:30:00 GMT 2009


Is there a setting or issue that would result in all externally
generated files in an NTFS filesystem to have 000 permissions?  New
files created in the shell appear to have the correct mask.  However,
I need to chmod every external file I want to modify.

Also, is it intended for my user account to have its primary group be 'None'?

I am using cygwin 1.7 on Windows 7 Ultimate.  Should I be running in
compatibility mode?  Should I install as administrator?

On Wed, Sep 2, 2009 at 9:10 AM, Vince Indriolo<vinceind@gmail.com> wrote:
> I am running Windows 7, cygdrive 1.7.
> After installation all files my files show up as 000 permissions.  I
> have to chmod in order to modify files.
>
> vince@Granada /cygdrive/f
> $ ls -l
> total 852
> d---------+ 1 vince            None     4096 Aug 25 08:58 $RECYCLE.BIN
> d---------+ 1 vince          None        0 Jul  6 17:58 Development
> drwx------+ 1 vince          None     4096 Aug 31 22:49 Drop
> ----------+ 1 vince          None   132328 Sep  2 03:03 FTT.xml
> drwx------+ 1 Administrators None     4096 Jul 22 20:36 Projects
> d---rwx---+ 1 Administrators SYSTEM      0 May 24 09:39 System Volume
> Information
>
> I am able to add files and permissions seem ok:
> vince@Granada /cygdrive/f
> $ touch hello
>
> $ ls -l hello
> -rw-r--r-- 1 vince None 0 Sep  2 08:47 hello
>
> I am also slightly confused on why the mkpasswd puts me and the
> existing filesystem in the 'None' group rather than 'Users'.
> Secondly, existing files like: 'FTT.xml' has many more groups assigned
> to it than the file 'hello' with security controls.
> I would think that for all files created by cygwin, "System" and
> "Administrators" should always be given full control.
>

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



More information about the Cygwin mailing list