• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

Permissions for files and folders

Relating to my previous question:

1) Where it´s specified that everything is denied before granting?
2) With /grant:r lusiaescrivane:(w) the User can´t rename files.
3) With /grant:r lusiaescrivane:(w,d) the User can´t delete files.

Regards
0
LexNews
Asked:
LexNews
  • 3
  • 2
1 Solution
 
Lionel MMSmall Business IT ConsultantCommented:
This will deny all rights to the folder for a user or a group name
icacls c:\foldername /deny username or groupname:f
Note that denying is dangerous and can make the folder inaccessible so test it on a test folder first. also note that your folder may be inheriting rights from the folder above or the root of the drive so may also have to use the /inheritance option to remove it
2) are you want to make it so that  /grant:r lusiaescrivane:(w) will stop lusiaescrivane from renaming files? and 3) so lusiaescrivane can't delete files?
This links will help you if you want a better understanding
http://technet.microsoft.com/en-us/magazine/2009.07.geekofalltrades.aspx
http://timbolton.net/2010/06/23/icacls-changing-permissions-on-files-and-folders/
http://ss64.com/nt/icacls.html
I use them when I try to help othes
0
 
LexNewsAuthor Commented:
Thanks.
I´ll take a look on these articles.
0
 
Lionel MMSmall Business IT ConsultantCommented:
Did you get it working as you wanted? If so please post your solution here for others to see, but if not let me know if you need any more help.
0
 
LexNewsAuthor Commented:
Not yet.
I´m elaborating a more specific question.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now