Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Temp folder default NTFS security [closed]

What are the default NTFS security settings of the C:\Windows\Temp folder in Windows 7?

like image 669
IvanL Avatar asked Aug 11 '12 03:08

IvanL


People also ask

What are the default NTFS permissions?

By default, NTFS permissions for files and folders inherit the permissions of their parent folder. The primary purpose of file system permissions inheritance is to simplify administration. Without inheritance, administrators would need to specify permissions explicitly for each and every file and folder.

Does C :\ Windows Temp always exist?

Windows has a TEMP folder in the Windows folder that is used by programs to store temporary files. Windows creates this folder if it does not already exist for some reason. If you do not have permission to write to this folder you may receive system errors.


1 Answers

SetACL is capable of listing the permissions of C:\Windows\Temp without first changing them. I retrieved the default permissions with the command setacl -on c:\Windows\Temp -ot file -actn list on a freshly installed system and verified on my system:

DACL(protected+auto_inherited):
Users           FILE_ADD_FILE+FILE_ADD_SUBDIRECTORY+FILE_TRAVERSE   allow   container_inherit
Administrators  full   allow   no_inheritance
Administrators  full   allow   container_inherit+object_inherit+inherit_only
SYSTEM          full   allow   no_inheritance
SYSTEM          full   allow   container_inherit+object_inherit+inherit_only
CREATOR-OWNER   full   allow   container_inherit+object_inherit+inherit_only

If you prefer a GUI application, SetACL Studio can list permissions from every part of the system without first changing them like Explorer. This is what C:\Windows\Temp looks like in SetACL Studio:

SetACL Studio - Permissions on C:\Windows\Temp

like image 192
Helge Klein Avatar answered Sep 20 '22 02:09

Helge Klein