Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Interrupted Cygwin install changed permissions on C drive Post 302745663 by ethoma7329 on Monday 17th of December 2012 06:08:05 PM
Old 12-17-2012
Interrupted Cygwin install changed permissions on C drive

I was installing cygwin on my Windows 7 desktop. I guess I picked a bad mirror site because the download speed was very slow and it wasn't able to give me all the packages I wanted.

I closed the setup in too much haste. I think it was still downloading and not yet installing though. It said that closing it would abort the download and installation, roughly, and I clicked 'okay'.

Now I try to save something onto my C drive, into Program files or whatever, like a text file or anything. It says that I do not have the permissions to do so, asks if I would like to save into my user documents folder, and, in typical Windows fashion, it directs me to ask the administrator. My account is the administrator; I checked both in control panel and in the user select screen at boot.

I restarted the computer. Then I decided to delete all the cygwin files I could find (cygwin folder on C:// and the cygwin download repository) and reran the setup. It successfully completed after I chose a better mirror. I have my terminal window and it works!

But, even after restarting again, I cannot save to the C drive. Interestingly enough, I can save into the cygwin folder, which is in the C drive, but into no where else on the C drive.

I should mention that when I deleted the cygwin folder on the C drive, it was partially full, indicating that I might have stopped the setup initially during the installation phase.

I cannot find any other changes other than this saving permission problem. I can give programs permission to write on the C drive, I can change all Windows settings, etc..

I used system restore to restore my computer to a point before the install, but everything is the same afterward from what I can tell - cygwin still up and c drive still restricted.

What is the course of action to fix this problem?

Thanks!

This is a x-post from techsupportforum.com.

EDIT:
Revo uninstaller does not see the cygwin terminal, so the terminal, it appears, was deleted in the system restore. The cygwin file system seems to be all intact. No other effects seen from system restore.

Last edited by ethoma7329; 12-17-2012 at 07:31 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CYGWIN/CPAN install of Expect.pm

I am attempting to install a Perl Expect module via the CPAN . CPAN goes through the process but nothing happens, sample perl scripts can not find the Expect Module. CPAN was configured via the Default process " Are you ready for manual configuration? " answered "no". CPAN install seemed to find... (1 Reply)
Discussion started by: white222
1 Replies

2. Solaris

file permissions changed to nobody4

Hi there We have had a weird problem arise recently whereby a file owned by cjo:cjogroup suddenly had it's permissions changed to nobody4:nogroup. The file is mounted off a NetApp Filer volume with the NFS permissions set to Read-Write Access (All Hosts) but no Root Access. When we tried to... (1 Reply)
Discussion started by: skewbie
1 Replies

3. UNIX for Dummies Questions & Answers

How to install Cygwin on Windows XP SP2

Please can anyone help me with how to install cygwin on a windows Xp SP2 platform, I cant seem to get it to work? (1 Reply)
Discussion started by: jimoney
1 Replies

4. UNIX for Advanced & Expert Users

Install ksh93 for cygwin

Hi, Does anyone know where can I get ksh93 for installation on CYGWIN. Thanks? (1 Reply)
Discussion started by: devtakh
1 Replies

5. UNIX for Dummies Questions & Answers

Cygwin/X install help

Hi All, Not sure if this is the right forum but hope someone has the answer. I installed Cygwin/X and usually use the 'startxwin.bat' to start xwin. However, I recently updated to Windows 7 and noticed that 'startxwin.bat' is not in the normal path (normally its in /usr/X11/bin). Anyone know... (1 Reply)
Discussion started by: ScKaSx
1 Replies

6. UNIX for Dummies Questions & Answers

Trying to install UCSF DOCK on Cygwin

I'm trying to install DOCK 6.3 on my computer. I'm using the latest version of both DOCK for the install and Cygwin. Following the directions outlined here DOCK 6.3 User Manual I type in the prompt ./configure Makefile and it creates a header file titled config.h I then type in make... (6 Replies)
Discussion started by: newuser1
6 Replies

7. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies

8. Post Here to Contact Site Administrators and Moderators

Permissions Changed?

I cannot seem to post within any thread as I require moderator approval. I believe my permissions have been changed and was wondering whats the reason behind this. Thanks. (3 Replies)
Discussion started by: Banned
3 Replies

9. Shell Programming and Scripting

Script to echo "File permissions or ownership changed from required " when accidentally changed.

Hi All, I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :( which have similar names ( /var in root and var of some other directory ).:confused: Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies

10. UNIX for Dummies Questions & Answers

Is there a way to check when the permissions for the file got changed in AIX

Is there a way to check when the permissions for the file got changed in AIX IS there some file which logs all these details? Best regards, Vishal (4 Replies)
Discussion started by: Vishal_dba
4 Replies
mkbundle(mkbundle 1.0)													    mkbundle(mkbundle 1.0)

NAME
mkbundle, mkbundle2 - Creates a bundled executable. SYNOPSIS
mkbundle [options] assembly1 [assembly2 ...] DESCRIPTION
mkbundle generates an executable program that will contain static copies of the assemblies listed on the command line. By default only the assemblies specified in the command line will be included in the bundle. To automatically include all of the dependencies referenced, use the "--deps" command line option. Use mkbundle when you want the startup runtime to load the 1.0 profile, and use mkbundle2 when you want the startup runtime to load the 2.0 profile. For example, to create a bundle for hello world, use the following command: $ mkbundle -o hello hello.exe The above will pull hello.exe into a native program called "hello". Notice that the produced image still contains the CIL image and no precompilation is done. In addition, it is possible to control whether mkbundle should compile the resulting executable or not with the -c option. This is useful if you want to link additional libraries or control the generated output in more detail. For example, this could be used to link some libraries statically: $ mkbundle -c -o host.c -oo bundles.o --deps hello.exe $ cc host.c bundles.o /usr/lib/libmono.a -lc -lrt You may also use mkbundle to generate a bundle you can use when embedding the Mono runtime in a native application. In that case, use both the -c and --nomain options. The resulting host.c file will not have a main() function. Call mono_mkbundle_init() before initializing the JIT in your code so that the bundled assemblies are available to the embedded runtime. OPTIONS
-c Produce the stub file, do not compile the resulting stub. -o filename Places the output on `out'. If the flag -c is specified, this is the C host program. If not, this contains the resulting exe- cutable. -oo filename Specifies the name to be used for the helper object file that contains the bundle. -L path Adds the `path' do the search list for assemblies. The rules are the same as for the compiler -lib: or -L flags. Specifies that a machine.config file must be bundled as well. Typically this is $prefix/etc/mono/1.0/machine.config or $prefix/etc/mono/2.0/machine.config depending on the profile that you are using (1.0 or 2.0) --nodeps This is the default: mkbundle will only include the assemblies that were specified on the command line to reduce the size of the resulting image created. --deps This option will bundle all of the referenced assemblies for the assemblies listed on the command line option. This is useful to distribute a self-contained image. --keeptemp By default mkbundle will delete the temporary files that it uses to produce the bundle. This option keeps the file around. --machine-config FILE Uses the given FILE as the machine.config file for the generated application. --nomain With the -c option, generate the host stub without a main() function. --config-dir DIR When passed, DIR will be set for the MONO_CFG_DIR environment variable --static By default mkbundle dynamically links to mono and glib. This option causes it to statically link instead. Important: Since the Mono runtime is licensed under the LGPL, even if you use static you should transfer the component pieces of the mkbundle to your users so they are able to upgrade the Mono runtime on their own. If you want to use this for commercial licenses, you must obtain a proprietary license for Mono from mono@novell.com -z Compresses the assemblies before embedding. This results in smaller executable files, but increases startup time and requires zlib to be installed on the target system. WINDOWS
On Windows systems, it it necessary to have Unix-like toolchain to be installed for mkbundle to work. You can use cygwin's and install gcc, gcc-mingw and as packages. ENVIRONMENT VARIABLES
AS Assembler command. The default is "as". CC C compiler command. The default is "cc" under Linux and "gcc -mno-cygwin" under Windows. MONO_BUNDLED_OPTIONS Options to be passed to the bundled Mono runtime, separated by spaces. See the mono(1) manual page or run mono --help. FILES
This program will load referenced assemblies from the Mono assembly cache. BUGS
The option "--static" is not supported under Windows. Moreover, a full cygwin environment containing at least "gcc" and "as" is required for the build process. The generated executable does not depend on cygwin. MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details. WEB SITE
Visit: http://www.mono-project.com for details SEE ALSO
mcs(1),mono(1),mono-config(5). mkbundle(mkbundle 1.0)
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy