when I try to open file with another user on CYGWIN , I get access denied message
Alex
lombak@gmx.com
Tue May 16 14:59:00 GMT 2017
Yes I did , but I can access only the current files. If they send new
file next time, it won't get this setup so not possible to open.
I need something like folder permission and will apply to all files in
it also must be apply to files will be created latter
thanks
On 16/05/2017 14:10, Dan Kegel wrote:
> Did you try
> chmod 755 foo.dat
> on the file (assuming it's named foo.dat)?
>
> umask 002 would have done that for you if you'd done it before
> creating the file.
>
> It's a bit odd to have +x set on a data file, so if it's not a dll or
> exe, you might
> want to make it chmod 644 instead.
> - Dan
>
>
> On Tue, May 16, 2017 at 1:12 AM, Alex <lombak@gmx.com> wrote:
>> I have windows 2008 server and external partner requested me to install
>> CGYWIN on it so they can send a file to via SSH. I created a domain user
>> called test1 and they sent me the public key and installed home folder. They
>> can send the file without any problem. I can able to read and delete if I
>> login to windows server with test1 username.
>>
>> My problem is I can not open that files with another username. I have a
>> username call test2 and I need to login to windows server with this username
>> and run the script to import the files from test1 folder. I got access
>> denied message when I try to open it.
>>
>> file permission show ;
>>
>> -rwx------
>>
>> I changed the umask in profile to 002 , but did not fix the problem.
>>
>> Any idea?
>>
>> By the way I have a little knowledge of linux
>>
>> thank
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>>
>> --
>> 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
More information about the Cygwin
mailing list