How can I view the permissions a user has on a file from the command line?
John Savill
January 8, 2000
1 Min Read
A. A. A utility is supplied with the resource kit called perms.exe which can be used to view permissions on files/directories. The usage is
perms
e.g. perms savilltechsavillj d:filejohnfile.dat
You can add /s to also show details of sub files/directories. The permissions shown equate to
R | Read |
W | Write |
X | Execute |
D | Delete |
P | Change Permission |
O | Take Ownership |
A | All |
None | No Access |
* | User is the owner |
# | A group the member is a member of owns the file |
? | Permissions cannot be determined |
To output to a file just add > filename.txt at the end, e.g.
perms > file.txt
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like