CygwinPortable icon indicating copy to clipboard operation
CygwinPortable copied to clipboard

Cygwin Setup not working w/o admin privileges and cd ~/ only changing to /home/ntmoe

Open MachinaeWolf opened this issue 11 years ago • 6 comments

I followed the guide to get cygwin to run portably and it works but there's some issues. The cygwin setup doesn't work on library computers without admin privileges and cd ~/ is only pointing to /home/ntmoe. I cd to ~/ then run pwd and it says /home/ntmoe. Is there a way to fix these issues?

MachinaeWolf avatar Jan 15 '14 20:01 MachinaeWolf

Also there's an issue preventing me from using screen on cygwin... -bash-4.1$ screen Directory /tmp/uscreens/S-ntmoe must have mode 700.

Edit: so I did chmod -R 700 /tmp/uscreens/ and now it says Directory '/tmp/uscreens' must have mode 777. but chmod -R 777 /tmp/uscreens/ doesn't fix it :/

MachinaeWolf avatar Jan 15 '14 20:01 MachinaeWolf

Please forgive me for taking so long to get back to you. I just discovered I had a bunch of issues here today because I wasn't getting notifications.

Did you try renaming setup.exe to cygwinConfig.exe? That's the only way I know to get around the admin privilege issue.

I've merged a pull request that fixes the home directory issue.

I don't think it's possible to do much with permissions on a FAT32 formatted device. I just tried to change a file's permissions in the home directory, and it didn't work.

ntmoe avatar Jul 12 '14 17:07 ntmoe

@MarioMaster100 Admin issues aside, screen and tmux both run on mine correctly. Did you follow the last new step (8), that got merged in? I had this issue and it comes down to it having the wrong name, for the home directory issue.

As for the screen issues, I suggest mkdir S-name and then giving that premissions.

unsignedzero avatar Sep 24 '14 04:09 unsignedzero

running setup.exe from the command line with the option -B will make it not check for administrator privleges. Source (https://www.cygwin.com/faq.html)

HoffsMH avatar Jan 03 '15 02:01 HoffsMH

setup-x86_64.exe --no-admin from command line, straight from the cygwin.com website

turtlepa avatar Jun 01 '17 14:06 turtlepa

If you amend the \App\CygwinPortable\cygwinConfig.bat and add the --no-admin flag to line 15 you will not have problems with no admin. :-)

AdmiralbadBeef avatar Aug 21 '17 21:08 AdmiralbadBeef