Tools

Serv-U directory and file permission values

This article describes how to decode the Serv-U directory and file permission values when the users are exported through CSV

First published date

10/25/2020 10:11 AM

Last published date

10/25/2020 10:11 AM

Overview

Serv-U administrators can export the Domain users and Database users information through CSV.
This export file will show all the user account information including the LoginID, Encrypted Password, Home Directory and the permissions used in the said home directory folder.
The directory access values will be in Decimal format and needs to be converted to Hexadecimal before we can decode the corresponding folder and file permissions.
Serv-U allows these permissions for folder and files.

Files
  • Read
  • Write
  • Append
  • Rename
  • Delete
  • Execute
Folders:
  • List
  • Create
  • Rename
  • Remove
  • Inherit

Product section

Serv-U Managed File Transfer & Serv-U FTP Server

Resolution


After exporting the user accounts through CSV, look at the LoginID and the DirAccess columns and look at the numbers after 'Access'. These numbers are in Decimal format.



Convert this value from Decimal to Hexadecimal using any tool or online sites you wish to use.

See the sample values below.
Decimal Value: 6913
Converted Hexadecimal Value: 1B01

Take note of the Hex value and see the chart below for the corresponding permission values.
 
First DigitSecond Digit (Directories)Third Digit (Files)Fourth Digit (Files)
0No Inherit0None0None0None
1Inherit1Dir List1Rename1Read
  2Dir Create2Execute2Write
  3Dir List + Dir Create3Rename + Execute3Read + Write
  4Dir Remove  4Append
  5Dir List + Dir Remove  5Read + Append
  6Dir Create + Dir Remove  6Write + Append
  7Dir List + Dir Create + Dir Remove  7Read + Write + Append
  8Dir Rename  8Delete
  9Dir List + Dir Rename  9Read + Delete
  ADir Create + Dir Rename  AWrite + Delete 
  BDir List + Dir Create + Dir Rename  BRead + Write + Delete
  CDir Remove + Dir Rename  CAppend + Delete
  DDir List + Dir Remove + Dir Rename  DRead + Append + Delete
  EDir Create + Dir Remove + Dir Rename  EWrite + Append + Delete
  FDir List + Dir Create + Dir Remove + Dir Rename  FRead + Write + Append + Delete

Using the sample above, the permission assigned for Hex 1B01 are as follows:
  • Inherit
  • Dir List + Dir Create + Dir Rename
  • Read