Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-17-2004, 01:40 PM   #1
Marine Eater
LQ Newbie
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Rep: Reputation: 0
Samba Problem

I have an 80gb hard drive which i am trying to setup as a little 'dumping ground'.
I am able to copy files from my Windows Computers onto it, but once they are on the files cannot be read - it says i do not have access. I have tried opening .rar files and they say the file cannot be opened, and i have tried watching .wmv files and they say i have no access.. I have chmod'ed the network directory where it is mounted to 777, and i have setup Samba so that read/write access is enabled.
I am not sure what to do next, how can i let Windows computers access/stream files on my linux server?

Old 12-17-2004, 03:05 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
It's done in 3 layers..

First the share must be accessible by the username connecting..
This depends on your SECURITY= setting..
Either a user, security = user
or "guest", security = share

Use smbstatus to view the connections..

Then the directory must be accessible by the logged-in user..
both by samba and by linux..

Then the files must be accessible by the logged-in user...

So a simple guest share would look like..
guest account = files

path = /pub
guest ok = yes
read only = no
writeable = yes
browseable = yes

and all files and directories are owned by user & group files
chmod to 660
Old 12-17-2004, 04:58 PM   #3
Marine Eater
LQ Newbie
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Original Poster
Rep: Reputation: 0
Worked perfectly.


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 05:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
samba problem. bruse Linux - Networking 1 08-13-2005 11:08 AM
Samba Problem tied2 Linux - Newbie 5 06-17-2002 10:41 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:18 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