Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba & permission problems...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Googa
n00b
n00b


Joined: 08 Jan 2003
Posts: 16

PostPosted: Fri Jan 24, 2003 2:33 pm    Post subject: Samba & permission problems... Reply with quote

Ok - so I just went from Debian to Gentoo on my fileserver/FTP box (after doing the same on my desktop). I have both glftpd and Samba installed as I did on Debian. I have glftpd sharing my hde3, mounted at /pub.

Problem is, when I access anything via SMB (besides /home/googa), I don't have write access. Everything seems to be set to drwxr-xr-x. How can I quickly set everything up so that I can have full access via SMB, but users of my FTP don't?

Thanks in advance!
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Fri Jan 24, 2003 5:54 pm    Post subject: Reply with quote

Give the shared filesystem to a group that only you belong to (chgrp(1)). If there are other users which are permitted to write add them to this group, too.
Give the group write permissions on all the files (chmod(1)) in /pub (and /pub itself).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum