0
votes
1answer
26 views

Locking down SFTP user in cygwin

I set up a user to ssh to Windows Server 2008 R2. I was able to change de default directory. The only piece I could not figure out is how to restrict user to just that directory. In other word I ...
0
votes
0answers
9 views

Default permissions on a Samba share from Cygwin not respected

I have a samba share on a Linux machine (Ubuntu 12.04) set up with the following config: [share] comment = Share read only = no browsable = yes writable = yes path = /mnt/hdd/share ...
0
votes
0answers
13 views

cygwin's chmod behaves as working, but it does not work

My Cygwin installation is behaving strangely: chmod does not work. [09:45 Administrator@DellIns14 ~] > ls -ls /usr/bin/chmod 64K -rwxr-xr-x 1 Administrator None 38K Feb 6 2012 /usr/bin/chmod ...
2
votes
0answers
362 views

Default permission for new file cygwin on Windows 7

I am using cygwin on Windows 7 professional. When I create new files such as MyNewFile.java it seems to get default permission set to 755. This is not what I want. I want it to be 644 for regular ...
0
votes
1answer
85 views

SQL Server Unattended Install through SSH

I'm trying to install SQL Server from the command line through Cygwin open-ssh. The install works when I log onto the server as Administrator and execute the script through a Cygwin shell, but the ...
0
votes
0answers
153 views

How to remove Administrators group from access token

When I run cmd.exe from the Start button, then run "whoami /groups" in order to view the access token, I see that the Administrators group is not in my access token. That's good - I want to not have ...
1
vote
0answers
151 views

How do I get Cygwin to create files owned by me, rather than Administrators?

When I create a file using Cygwin (on Windows 7), the file owner is Administrators. When I create a file with a Windows command shell (same computer, login, etc), the owner is me. How do I get ...
0
votes
1answer
109 views

File created in cygwin cannot be found

Setup: Cygwin on Windows 8 64bit. UAC enabled. Scenario: I run cygwin without administrator privilege. I go to a directory and create a new file. Turns out I don't have write access to this ...
4
votes
2answers
4k views

How can I delete the cygwin folder on my c drive?

I have a folder called C:\cygwin. How can I delete this folder. It says I need permission from the administrator. However I am logged in as administrator.
2
votes
1answer
1k views

How can I make files I check out with git on Windows writable by default in Cygwin?

I'm developing on Windows and I prefer to run git and build commands from the Windows command line, but I also enjoy using cygwin sometimes when I want to just explore the project repository using my ...
0
votes
1answer
911 views

strange permission error involving ssh, Cygwin, Windows 7, and .sh files

I am new to Cygwin, ssh, and messing with file permissions and have a problem. On computer WORKER1, I am attempting to ssh into computer WORKER2 and then running a .sh file on WORKER1 from there. From ...
1
vote
3answers
5k views

How to get Cygwin Permissions in Windows 7

I had installed Cygwin, then later deleted my Windows 7 account and recreated the account with the same name. Now I am having trouble editing files in my Cygwin folder or creating new folders/files. ...
12
votes
4answers
7k views

Using git through cygwin on windows 8

I've got a windows 8 dev preview (not sure if it's relevant, but I never had this hassle on w7) machine and I'm trying to clone a git repo from github. The problem is that my ~/.ssh/id_rsa has 440 ...
2
votes
2answers
548 views

Why does cygwin's scp set the permssions to 000 when copying to Linux?

When I'm copying files from my Windows box to a Linux box using cygwin's scp, the permissions come out as 000. This doesn't happen when I copy from Linux to Linux, so I'm thinking it's related to some ...
2
votes
2answers
770 views

How can I change permissions of the Cygwin folder in Windows 7?

Every time I want to change permissions through explorer I get an access denied error, and I'm using an administrator account. What I need is to add an script to the /bin directory, but I'm not ...
3
votes
1answer
1k views

Permission denied when running Emacs from Cygwin console

When I run Emacs from the Cygwin console I get the following error message: bash: /usr/bin/emacs/ :Permission denied I have not changed any settings. I tried to change the autosave settings in ...