Jump to content

Samba file visibility [solved]


Scythe
 Share

Recommended Posts

Hello all,

 

Ive got my Samba server set up with multiple users and of course multiple permissions. My question now is how do I make it so that certain users cant see folders they cant access. For example:

 

I have a folder named "320" that I want only myself to be able to see when the server is accessed. As it is other users can see the folder even if they cant access it. How would I make it so that the folder is not visible to the others but still visible when I log on?

Link to comment
Share on other sites

I found a different method. The page you posted helped a little in giving me the idea:

 

I made a new folder called "private" and put hardlinks to the folders I wanted within the private folder and set that to restricted access. Not exactly what I was looking for but itll work fine for my purposes.

 

#cd /media/storage1
#mkdir private
#cd private
#ln -s /media/storage1/Music Music

Edited by Scythe
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...