delete-protected-directory

Removes protection from a directory owned by some virtual server This command turns off protection for a web directory, and removes all users with access to it. The virtual server that owns the directory must be specified with the --domain flag, and the directory path (which can be relative to public_html) with the --path flag. Command line help virtualmin delete-protected-directory --domain name --path directory

Removes protection from a directory owned by some virtual server#

This command turns off protection for a web directory, and removes all users with access to it. The virtual server that owns the directory must be specified with the --domain flag, and the directory path (which can be relative to public_html) with the --path flag.

Command line help#

virtualmin delete-protected-directory --domain name
 --path directory

Source: https://www.virtualmin.com/docs/development/api-programs/delete-protected-directory/

  • virtualmin, domain, user, command line, delete, protected, directory
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...