Web lists-archives.com

Re: when I try to open file with another user on CYGWIN , I get access denied message




Greetings, Alex!

>> You may want to check the receiving directory DACLs with getfacl .../
>> and if necessary change them with setfacl -m d:g::r--,d:o::r-- if only
>> data is being transferred to that directory.

> #getfacl samplefolder
> #owner :gm-user1
> #group :Domain User
> user ::rwx
> group :: r-x
> other:r-x

Seems sane, though least desirable.

> Yes they only transfer to file in this folder,  if I run setfacl for 
> this directory, will it apply to files inside and the file will be added 
> later ?
>> 
>> Removing directory DACLs e.g. with setfacl -bk .../ can stop Windows
>> programs being able to read or write directories or contents.
>> 
>> Get them to set the permissions chmod +r on the source if possible,
> they said already give the file with full permission for everyone

At this point, I have a feeling that their software force 0700 on an unloaded
file.

But you may try to

setfacl -m d:u::rwx,g::rwx,d:m::rwx

on your directory and try to upload a new file.


-- 
With best regards,
Andrey Repin
Thursday, May 18, 2017 15:14:23

Sorry for my terrible english...


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