Sponsored Content
Special Forums Windows & DOS: Issues & Discussions Interrupted Cygwin install changed permissions on C drive Post 302746041 by DGPickett on Tuesday 18th of December 2012 04:28:39 PM
Old 12-18-2012
The cygwin install is not very administrative most of the time, so this is odd. See if you can write files from a session like a console "run as administrator". When I right-click wondows explorer, it says I can "Run as administrator". It sounds like c:\ premissions are damaged, but it may be some related registry thing.
 

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
wsreg_can_access_registry(3WSREG)                   Product Install Registry Library Functions                   wsreg_can_access_registry(3WSREG)

NAME
wsreg_can_access_registry - determine access to product install registry SYNOPSIS
cc [flag ...] file ...-lwsreg [library ...] #include <fcntl.h> #include <wsreg.h> int wsreg_can_access_registry(int access_flag); DESCRIPTION
The wsreg_can_access_registry() function is used to determine what access, if any, an application has to the product install registry. The access_flag argument can be one of the following: O_RDONLY Inquire about read only access to the registry. O_RDWR Inquire about modify (read and write) access to the registry. RETURN VALUES
The wsreg_can_access_registry() function returns non-zero if the specified access level is permitted. A return value of 0 indicates the specified access level is not permitted. EXAMPLES
Example 1: Initialize the registry and determine if access to the registry is permitted. #include <fcntl.h> #include <wsreg.h> int main(int argc, char **argv) { int result; if (wsreg_initialize(WSREG_INIT_NORMAL, NULL)) { printf("conversion recommended, sufficient access denied "); } if (wsreg_can_access_registry(O_RDONLY)) { printf("registry read access granted "); } else { printf("registry read access denied "); } if (wsreg_can_access_registry(O_RDWR)) { printf("registry read/write access granted "); } else { printf("registry read/write access denied "); } } USAGE
The wsreg_initialize(3WSREG) function must be called before calls to wsreg_can_access_registry() can be made. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
wsreg_initialize(3WSREG), attributes(5) SunOS 5.10 22 Sep 2000 wsreg_can_access_registry(3WSREG)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy