What folders in specific do you want to hide? Are you giving your FTP users access to the entire file system, or are you jailing them to their home directories? ______________________________________________________________________
i wanna hide the default "Desktop" folder that is created by RH. i am 'jailing' the users in their own home-dir by the way.. everything manually since i still don't get the group stuff :]
You don't have to jail everyone manually. Just use the directive "DefaultRoot ~" in the <Global>...</Global> context and everyone is jailed. If you have a userid named "foo", and you want that user to not be jailed, change the line to read "DefaultRoot ~ !foo".
Anyway, the Desktop is created by KDE. If your users use the KDE GUI, then they're going to have to have access to it then.
Here's one way: Create a group called "noshow". Set ownership of the Desktop directory to that group, but leave the user ownership alone. In proftp.conf, add an entry that reads something like:
<Directory /*>
HideGroup noshow
</Directory>
In the <Global>...</Global> section add:
<Limit ALL>
IgnoreHidden on
</Limit>
that didn't work (yet)... if the directory is only used by people using the KDE GUI i might as well delete the dir correct.. all those users are FTP only users.
still i don't get the whole group thing from Linux :]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.