09.02.2014 Views

Windows sysinternals

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

340 Part II Usage Guide<br />

Volume Permissions<br />

Several of the utilities in this chapter depend on the permissions on the target volume.<br />

For example, the command sync e requires that the caller have Write permissions on<br />

the E drive. Volume permissions are distinct from those on the volume’s root directory,<br />

and these permissions can apply restrictions even on volumes with file systems such as<br />

FAT that do not support access control.<br />

Write permissions are granted only to administrators for all volumes on <strong>Windows</strong><br />

XP and all versions of <strong>Windows</strong> Server. Beginning with <strong>Windows</strong> Vista, interactively<br />

logged-on users are granted Write permissions for removable volumes such as flash<br />

drives.<br />

<strong>Windows</strong> does not provide any utilities that show the permissions on volume objects.<br />

You can use AccessChk for this purpose, using the syntax accesschk \\.\x:, where x is<br />

the drive letter of the volume you want to inspect. See Chapter 8, “Security Utilities,” for<br />

more information about AccessChk.<br />

FIGURE 12-5 The effects of volume permissions.<br />

Figure 12-5 shows Sync attempting to flush the disk caches for C and E while running<br />

as a standard user on <strong>Windows</strong> 7. Sync, which requires Write permissions, fails for C but<br />

succeeds for E. The example then shows AccessChk displaying the effective permissions<br />

for the two volumes. On C, standard users have only the Read permissions granted to<br />

Everyone, but on E interactive users (NT AUTHORITY\INTERACTIVE) are granted Read<br />

and Write permissions.<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!