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: Cygwin file permission issues


Thanks Jeremy, this seems to have resolved the issue.

For those who might stumble upon this in the future, here's exactly
what I ended up doing:

1. Edit the /etc/fstab file
2. Added the following line (note: our install of Cygwin is on the X drive):

    X:/cygwin / ntfs override,binary,noacl 0 0

3. Closed and reopened the bash shell.
4. Changed to the folder in question and issued a 'touch' command to
create a test file.
5. Opened the properties on the newly created file through Windows
Explorer and verified that the permissions were correctly being
inherited from the parent folder.


Derek



On Wed, Jun 30, 2010 at 12:24 PM, Jeremy Bopp <jeremy@bopp.net> wrote:
> On 6/30/2010 11:27 AM, Derek Greer wrote:
>> I've run into a Cygwin permissions issue that I haven't been able to
>> resolve by looking through past discussions.
>>
>> When a file file or folder is created by a user under cygwin, it isn't
>> adhering to the permissions inherited by parent folders. ?Based on the
>> parent folder, any folders and files created should have full access
>> by all users, but they aren't writable. ?When I go to the Security tab
>> under Windows I get:
>>
>> "The permissions on [file/folder name] are incorrectly ordered, which
>> may cause some entries to be ineffective. ?Press OK to continue and
>> sort the permissions correctly, or Cancel to reset the permissions."
>
> Read the following sections of the User's guide:
>
> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-files
> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>
> The short and sweet is that this is the intended behavior of Cygwin, but
> you can work around it by ensuring that the noacl option is set on the
> mountpoint under which the target file resides. ?You may need/want to
> create a new mountpoint just for the files of interest.
>
> -Jeremy
>
> --
> 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
>
>

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