Windows Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsWindows Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 25th, 2011, 06:07 PM
mysticav's Avatar
mysticav mysticav is offline
life is joy, don't waste it !
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360 mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level) 
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.

Reply With Quote
  #2  
Old August 25th, 2011, 07:04 PM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,698 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 4 h 53 m
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to 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.

Reply With Quote
  #3  
Old August 25th, 2011, 11:15 PM
mysticav's Avatar
mysticav mysticav is offline
life is joy, don't waste it !
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360 mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level) 
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 ?

Reply With Quote
  #4  
Old August 26th, 2011, 11:18 AM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,698 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 4 h 53 m
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to 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?

Reply With Quote
  #5  
Old August 27th, 2011, 10:05 AM
mysticav's Avatar
mysticav mysticav is offline
life is joy, don't waste it !
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Location: :: behind the border ::
Posts: 360 mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level)mysticav User rank is Corporal (100 - 500 Reputation Level) 
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsWindows Help > NTFS Windows Permissions

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap