RE: Samba and shared folders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: fedora-list-admin@xxxxxxxxxx
> [mailto:fedora-list-admin@xxxxxxxxxx]On Behalf Of Eric Diamond
> Sent: Friday, March 05, 2004 11:37 PM
> To: fedora-list@xxxxxxxxxx
> Subject: RE: Samba and shared folders
> 
> 
> Chris,
> 
> That's actually the default behavior on my boxes. I haven't 
> nailed down the
> particulars because I have to do more testing, but the key is 
> the directory
> permissions. Samba allows us to emulated a MS server, but the 
> permissions
> controlling access are still in linux.
> 
> I have to go see a customer this morning, but I'll be back 
> this afternoon
> and will continue to test. I've already made some shares 
> visible that hadn't
> been and then taken them back away from the main browse list. However,
> specifying a specific share name makes it show up in the 
> browser even if
> it's not accessable. I need to test to see whether this is 
> because they were
> already resolved on my test box or if that is default 
> behavior. I'll get
> back to you as I know more.
> 
> This is what I have so far... 
> 
> You definitely want browsable set to no in the homes section. 
> Likewise,
> since there is only one homes defination, a valid users 
> statement won't
> work.

Valid users will Work.. What you need to do is to get
samba to expand on this

valid users=%S <---
writable = yes
browesable = no

in this way, the user will only see his/her own home directory
and nothing else..



> 
> Your home directory permissions should be 755 or drwxr-xr-x.
> Your user directories should be 700 or drwx------. 
> 
> I'll add more later...
> 
> Eric Diamond
> eDiamond Networking & Security
> 303-246-9555
> eric@xxxxxxxxxxxx
>  
> 
> > -----Original Message-----
> > From: fedora-list-admin@xxxxxxxxxx 
> > [mailto:fedora-list-admin@xxxxxxxxxx] On Behalf Of Chris Botha
> > Sent: Friday, March 05, 2004 2:24 AM
> > To: fedora-list@xxxxxxxxxx
> > Subject: Samba and shared folders
> > 
> > 
> > Dear Fedora users
> > 
> > On my network I would like to set up file sharing and in fact 
> > I did already, but it is not working as I would like it to 
> > be. Could any give me a tip. I would like that my users 
> > should only see the files that they got access to. In 
> > samba.conf I used 'valid users = .....' At the moment all 
> > shared directories are listed although the users cannot 
> > access it. This is becaues 'browseable = yes'. Let me put it 
> > like this, if a user logs in then only that users home file 
> > is displayed and not the others, this I would also like with 
> > ohter folders that that user got access to. Is something like 
> > this possable with samba.
> > 
> > Chris
> > 
> > 
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> > 
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux