Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-12-2008, 01:51 PM   #1
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Rep: Reputation: 15
Question Hiding Folders In User Directories On A Samba Server

Hi All,

The situation is this. I have Samba and Postfix installed on the same server. As you know Postfix creates the Maildir directory in the home directory in the server for each user and stores all the mail messages there. Now I have samba configured with home directories so what i want to do is to hide that folder from the user through the smb.conf file. This is so that the users dont delete the folder or fiddle about with it.

Is that possible?


Old 04-12-2008, 03:12 PM   #2
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202

Rep: Reputation: 34
You can try setting the mailbox to .Maildir in postfix, then using the "hide dot files" parameter in samba, which should be on by default:

hide dot files (S)

This is a boolean parameter that controls whether files starting with a dot appear as hidden files.

Default: hide dot files = yes

If that is not possible, you can try to use the chmod command to restrict access to it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
hiding log files of samba from windows user pmember01 Linux - Newbie 1 02-04-2008 08:49 AM
Hiding Folders in Linux superbejo Linux - Software 9 06-09-2004 07:50 AM
Hiding samba server? BruceC Linux - Networking 1 05-06-2004 10:54 AM
Samba: What group/user is used by Samba to access directories? DJ_Cyberdance Linux - Networking 3 10-04-2003 04:21 AM
hiding icons and folders dark_light Linux - General 2 05-31-2003 04:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration