CygwinPortable
CygwinPortable copied to clipboard
Cygwin Setup not working w/o admin privileges and cd ~/ only changing to /home/ntmoe
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?
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 :/
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.
@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.
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)
setup-x86_64.exe --no-admin from command line, straight from the cygwin.com website
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. :-)