LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ProFTPd HideGroup command (https://www.linuxquestions.org/questions/linux-networking-3/proftpd-hidegroup-command-146648/)

Woutermelon 02-16-2004 04:42 AM

ProFTPd HideGroup command
 
Hi,


I need some help with the HideGroup command in ProFTPd 1.2.9.
Has anyone used this command an can could someone provide me with a working example?
I already did a search in the ProFTPd manual but they didn't provide an example...

Hope anyone can help me

Regards,

Wouter

peter_robb 02-16-2004 05:22 PM

From the Docs section of the ProFTPd sources... Configuration.html..
#
HideGroup

Name

HideGroup -- Enable hiding of files based on group owner

Synopsis

HideGroup [ HideGroup groupid]

Default

None

Context

<Directory>, <Anonymous>

Module

mod_core

Compatibility

0.99.0 and later

Description

The HideGroup directive configures a <Directory> or < Anonymous> block
to hide all directory entries owned by the specified group, unless the
group is the primary group of the currently logged-in, authenticated
user . Normally, hidden directories and files cannot be seen via LIST
or NLST commands but can be operated on via other FTP commands (CWD,
DELE, RETR, etc). This behavior can be modified via the IgnoreHidden
directive.

See also

See Also: HideUser, HideNoAccess, IgnoreHidden

Examples
#

Which reads, it lives inside a <Directory> or <Anonymous> statement. eg

<Directory ~>
HideGroup root
</Directory>

This would prevent root group owned files from showing in a LIST command... for any valid system users in their home directories (~)


All times are GMT -5. The time now is 05:01 PM.