Quick Permission question...

mrgetdown88mrgetdown88 Member Posts: 43 ■■■□□□□□□□
Well two questions...

1) In order to rename a file, which permissions need to be allowed?
I've been trying to deny creating files, but when I deny it, I can't rename that file either...

2) Can you set a file to modify, but deny deleting that file?

This is for an exam in one of my classes, and I'm not sure if these are trick questions...
XBox Live: xGetDownNoobx
Working towards 70-291 and CCNA
Future Goals (In this order):CCNA, MCSA, CCNP, MCITP:EA, CEH

"Consider yourselves lucky I'm not after your gully holes..."

Comments

  • gravyjoegravyjoe Member Posts: 260
    1) You would need either Modify or Full Control permissions to rename the file.
    The biggest risk in life is not taking one.
  • PaperclipPaperclip Member Posts: 59 ■■□□□□□□□□
    I think 1 is a trick question. As far as I know, NTFS considers (from a security standpoint, not an actual disk operations standpoint) renaming to be deleting then creating with a new name.

    You can set a user to be able to modify but not delete a file. However, they can open the file and delete all the contents of it, which is considered a modify operation. (They just can't modify the filename.)
  • skrpuneskrpune Member Posts: 1,409
    gravyjoe wrote: »
    1) You would need either Modify or Full Control permissions to rename the file.
    I would tend to agree...but Paperclip brings up a good point about how renaming is seen from a security standpoint. Hrm. Now I'm confused!!
    Currently Studying For: Nothing (cert-wise, anyway)
    Next Up: Security+, 291?

    Enrolled in Masters program: CS 2011 expected completion
Sign In or Register to comment.