LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 0
Samba Problem


Hi,
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?

Thanks!
 
Old 12-17-2004, 02:05 PM   #2
peter_robb
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..
[global]
...
guest account = files
...

[pub]
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, 03:58 PM   #3
Marine Eater
LQ Newbie
 
Registered: Sep 2004
Distribution: SuSE 9.1 Personal Edition
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks!
Worked perfectly.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration