Click to See Complete Forum and Search --> : Settings permissions for Samba server
frankiebonez
07-12-2002, 07:34 PM
Ok, I'm the epitomy of newbie when it comes to Linux but I managed to set up Samba with a friend's help. I set up a user account and can log into it from my Windows XP machine just fine. The only problem is that I can't figure out how to set permissions to allow users to access my /data directory where I want to place all my mp3's, videos, etc to share within the house and possibly to ftp out in the future.
So basically, I want to set up a fileserver. I've created and allowed access for one user to access the files in his own directory (/user) but I want to give him permissions to fully access /data to both read and write from the directory. I also want to allow guest access that will allow people to read, but not write from /data. I need to know how to do this, and I need it in great detail as I'm a major newbie.
I'm running RedHat Linux 7.3
Thanks.
Igrok
07-14-2002, 02:03 PM
Frankie,
I have tried to set up samba as well - I can see the samba server in the XP network neighborhood, however, it does not let me connect - it tells me I can't connect because a duplicate computer name is on the network - There is not another computer on my LAN - how do I get access to the samba server? could you help me w/ the samba.conf???
Aaronk
07-14-2002, 04:33 PM
I hope this helps, I did something very similar with this:
[homes]
comment = Home Directories
path = /
read only = No
guest ok = Yes
then i built an MP3 username and gave it access to this and the appropriate FTP directories:
[MP3]
comment = FTP for MP3 Directories
path = /var/ftp
read only = No
guest ok = Yes
Then I was able to take 2gigs worth of MP3s off my main system (win2k) and my girlfriends (winXP) and access them from work via my ProFTP server. Also important to note: tool me a few hours to figure it out, but apparrantly, BEFORE building users in Samba, I usually use SWAT, it must already exist as a user for the Linux machine. I use Mandrake 8.1, and am able to build users like this:
Mandrake Menus -> Configuration -> Other -> Userconf
Aaronk
07-14-2002, 04:38 PM
I hope this helps, I did something very similar with this:
[homes]
comment = Home Directories
path = /
read only = No
guest ok = Yes
then i built an MP3 username and gave it access to this and the appropriate FTP directories:
[MP3]
comment = FTP for MP3 Directories
path = /var/ftp
read only = No
guest ok = Yes
Then I was able to take 2gigs worth of MP3s off my main system (win2k) and my girlfriends (winXP) and access them from work via my ProFTP server. Also important to note: tool me a few hours to figure it out, but apparrantly, BEFORE building users in Samba, I usually use SWAT, it must already exist as a user for the Linux machine. I use Mandrake 8.1, and am able to build users like this:
Mandrake Menus -> Configuration -> Other -> Userconf
Igrok
07-15-2002, 12:48 AM
Thanks for the help! It was the $#&^)(% firewall stuff! I went to RH's website and found out it was the "LOKKIT" app and went in, disabled it, and now it works like a champ. I too wanted to dump my MP3's.
Thanks!