www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/21/00:41:57

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4833A7D8.4030302@gmail.com>
Date: Wed, 21 May 2008 14:40:56 +1000
From: thefinn <thefinn12345 AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: File Permissions Issue
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

My virus scanner decided one of the programs I have installed was a 
virus and seems to have changed the file permissions for it.

How do I change these permissions back so I can freely execute my files? :)

Admittedly I haven't used cygwin in a while, but it WAS all working 
before... I've since added the file in the virus scanner exclude list.


thefinn AT Laptop /usr/local/bin
$ chown thefinn.Users *
chown: changing ownership of `hydra.exe': Permission denied
chown: changing ownership of `pw-inspector.exe': Permission denied

thefinn AT Laptop /usr/local/bin
$ ls -l
total 200
----------+ 1 thefinn None 184608 Mar 23  2007 hydra.exe
----------+ 1 thefinn None  15037 Mar 23  2007 pw-inspector.exe

thefinn AT Laptop /usr/local/bin
$ hydra
bash: /usr/local/bin/hydra: Permission denied

thefinn AT Laptop /usr/local/bin
$ chmod 755 hydra.*
chmod: changing permissions of `hydra.exe': Permission denied

thefinn AT Laptop /usr/local/bin
$ ls -l ..
total 0
dr-xr-x---+ 2 thefinn Users 0 Oct 14  2007 bin
drwxr-xr-x+ 2 thefinn None  0 Oct 11  2007 dicts
dr-xr-x---+ 2 thefinn Users 0 Oct 10  2007 etc
dr-xr-x---+ 3 thefinn Users 0 Oct 17  2007 lib




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019