Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: I can't copy a file - "Access Denied"

02 Jun 2015   #1
peter7277

Windows 7 Ultimate x64
 
 
I can't copy a file - "Access Denied"

I have Cygwin installed on my Windows 7 machine but it seems there is a problem with the permissions on the Cygwin folder because it doesn't allow me to copy any files to it, i get "access denied" every time i try. I tried to change the permissions from the folder properties but it doesn't allow me to save the settings. I tried different copy programs, also Robocopy, but still getting "access denied".

Any solution for this?


My System SpecsSystem Spec
.
02 Jun 2015   #2
JustCall

Windows 8.1 Pro 64bit
 
 

Are you on an admin account?
My System SpecsSystem Spec
02 Jun 2015   #3
GokAy

Windows 7 Ultimate x64 SP1
 
 

Can you take ownership of the folder?

Try adding your own account to permissions and give full control.
My System SpecsSystem Spec
.

02 Jun 2015   #4
Windows Sniper

Windows 8.1
 
 

Quote   Quote: Originally Posted by GokAy View Post
Can you take ownership of the folder?

Try adding your own account to permissions and give full control.
To add to GokAy's answer -- Take Ownership - Allow or Prevent Users and Groups To Shows you how to do this easily.

You may also need to assign guest access to the Cygwin folder through BASH -- bash - Root user/sudo equivalent in Cygwin? - Stack Overflow the first answer on there is a detailed guide to doing this.
**Warning** This is from base knowledge of Cygwin / Linux use at risk **Warning**
Once you have done this, you should use "CHMOD 777 -R -F" to force the files to be R/W/Executable by all users.

I think i may have a syntax issue on that, but i'm not certain.
My System SpecsSystem Spec
02 Jun 2015   #5
peter7277

Windows 7 Ultimate x64
 
 

I added my user name to the owners of the folder and finally i was able to copy files in this directory. I go to Properties>Security>Advanced>Change Permissions>Add and i added my user name and gave it Full Control permission.
I don't know why but original owners of the folder were Everyone, Creator Owner, Creator Group and these other two:

S-1-5-21-737781111-1622150700-586221225-1001
S-1-5-21-737781111-1622150700-586221225-513
My System SpecsSystem Spec
02 Jun 2015   #6
GokAy

Windows 7 Ultimate x64 SP1
 
 

Did you copy paste this folder from some other installation perhaps?
My System SpecsSystem Spec
02 Jun 2015   #7
peter7277

Windows 7 Ultimate x64
 
 

No, the folder was there from the beginning but recently i reinstalled Windows.
My System SpecsSystem Spec
Reply

 I can't copy a file - "Access Denied"




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
!!UAC!! "File Access Denied" Even with admin, as owner, and permission
First off, I wasn't sure where the best place to post this would be, since UAC is supposed to be a security feature of windows 7 I figured the security section would be best. My apologies if I posted this in the wrong section. OK to the problem... Trying to simply copy/paste a game dll file...
System Security
Cannot create file "c:\User\...\Appdata\Roaming...". Access is denied.
I'm not sure what's the cause for this, but I believe it has to do with a recent SweetIM malware attack. I tried to fix it. And also did a system restore. Malware is gone, but this thing came up. The error message comes up upon closing an app (NoteTab Light). It's trying to save some info, but...
General Discussion
"Access Denied" when trying to modify a joystick .ini file.
Hi all. I know there are loads of threads about access denied, and I have read loads of them. So far I haven't cured the problem. Maybe I can get a pointer or two please? I have a Windows 7 Ultimate PC. There is 1 user, which I will call "Fred". I know there is a hidden Administrator...
Network & Sharing
Trying to copy txt file in Notepad. "Notepad: Access is denied"
:mad::confused::cry: If I had known how much hassle Win 7 was I would have stuck with XP! Well I suppose its a learning curve.... Latest major hassle, I have a text file on my E:\drive, this is a copy of my XP C:\ drive before I installed Win 7 on it. I have now been able to get to it...
General Discussion
Folder Shared, Permission Granted File "Access denied"
On both 64Bit & 32Bit Win7 machines I get an error message, denying access to a file in a folder within another folder. All have been shared, permissions granted & drives mapped to each folder. That is in addition to initially applying the changes to the file folder, subfolders, and files. The...
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:52.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App