## ProFTPD module `mod_ls`

The `mod_ls` module handles the `LIST`, `NLST`, and `STAT` FTP commands.

## Directives

- DirFakeGroup
- DirFakeMode
- DirFakeUser
- ListOptions
- ShowSymlinks
- UseGlobbing

## DirFakeGroup

Syntax: DirFakeGroup off|on display-name
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`, `<Directory>`, .ftpaccess
Module: mod_ls
Compatibility: All versions

The `DirFakeGroup` directive

Examples:

## DirFakeMode

Syntax: DirFakeMode display-mode
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`, `<Directory>`, .ftpaccess
Module: mod_ls
Compatibility: All versions

The `DirFakeMode` directive

Examples:

      # Display everything as read-only
      DirFakeMode 0444

## DirFakeUser

Syntax: DirFakeUser off|on display-name
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`, `<Directory>`, .ftpaccess
Module: mod_ls
Compatibility: All versions

The `DirFakeUser` directive

Examples:

## ListOptions

Syntax: ListOptions options [strict [maxdepth depth] [maxfiles count] [maxdirs count] [NoErrorIfAbsent]
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`, `<Directory>`, .ftpaccess
Module: mod_ls
Compatibility: 1.2.8rc1 and later

The `ListOptions` directive

See also: ListOptions

## ShowSymlinks

Syntax: ShowSymlinks on|off
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`
Module: mod_ls
Compatibility: All versions

The `ShowSymlinks` directive

Examples:

## UseGlobbing

Syntax: UseGlobbing on|off
Default: None
Context: server config, `<VirtualHost>`, `<Global>`, `<Anonymous>`
Module: mod_ls
Compatibility: All versions

The `UseGlobbing` directive

Examples:

      # Turn off support for globs in LIST/NLST commands
      UseGlobbing off

## Installation

The `mod_ls`module is always installed.

Author: $Author: castaglia $
Last Updated: $Date: 2011/02/16 06:32:17 $

© Copyright 2000-2011 The ProFTPD Project
All Rights Reserved