The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> Windows Help
|
NTFS Windows Permissions
Discuss NTFS Windows Permissions in the Windows Help forum on Dev Shed. NTFS Windows Permissions Windows Help forum discussing tips, tricks, configurations, and more. Microsoft Windows is one of the most popular operating systems due to its ease of use.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

August 25th, 2011, 06:07 PM
|
 |
life is joy, don't waste it !
|
|
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360
  
Time spent in forums: 2 Days 19 h 53 m 52 sec
Reputation Power: 12
|
|
|
NTFS Windows Permissions
Hi,
I'm a little confused about how Windows assigns permissions to files insides a directory.
For example:
User1 has read only access to Folder1.
Inside Folder1 there is a File1.
User1 has read and write access to File1.
The problem is that because User1 has only read access to Folder1, User1 cannot save File1 on that folder, I mean, he cannot modify the file, even if he has write permissions to that file.
So do I have to assign read and write access on Folder1 to User1 ?
IF I ASSIGN READ/WRITE access to User1 on Folder1, this will mean that User1 would have read/write to all files inside Folder1, unless I break inheritance.
So, any Idea how to manage this situation ?
Thanks.
__________________
Let us rm -rf our weaknesses.
|

August 25th, 2011, 07:04 PM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
NTFS will cascade permissions. If you deny write access to a folder then you'll deny write to files within it. What you can do is convert the inherited permissions on that file to explicit permissions and remove the Deny/add an Allow entry from the folder.
|

August 25th, 2011, 11:15 PM
|
 |
life is joy, don't waste it !
|
|
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360
  
Time spent in forums: 2 Days 19 h 53 m 52 sec
Reputation Power: 12
|
|
Quote: | Originally Posted by requinix NTFS will cascade permissions. If you deny write access to a folder then you'll deny write to files within it. What you can do is convert the inherited permissions on that file to explicit permissions and remove the Deny/add an Allow entry from the folder. |
Well, actually that's what I'm doing. I'm removing the inherited permissions coming from the folder, and allow Write Permissions to the file. But it doesn't work, because the folder permissions does not allow to write inside de folder, even if the file has write permissions. That's the weird part.
am I clear ?
|

August 26th, 2011, 11:18 AM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
|
You are talking about editing an existing file and not creating a new one, right?
I have here on my computer a folder with a file inside. I denied write access to the folder and was unable to edit the file. I converted the file's inherited permissions to explicit permissions, removed the Deny privilege (so it's back to the normal Full Control) and now I can write to the file again. Meanwhile I still can't create files inside the folder.
How does that compare to what you're doing?
|

August 27th, 2011, 10:05 AM
|
 |
life is joy, don't waste it !
|
|
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360
  
Time spent in forums: 2 Days 19 h 53 m 52 sec
Reputation Power: 12
|
|
Quote: | Originally Posted by requinix You are talking about editing an existing file and not creating a new one, right?
I have here on my computer a folder with a file inside. I denied write access to the folder and was unable to edit the file. I converted the file's inherited permissions to explicit permissions, removed the Deny privilege (so it's back to the normal Full Control) and now I can write to the file again. Meanwhile I still can't create files inside the folder.
How does that compare to what you're doing? |
That's exactly what I want. Curiously, the problem only happens with some excel file, not always.
I just wanted to know that it was possible and not a limitation of windows.
Thanks.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|