LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-15-2003, 08:59 PM   #1
olias
Member
 
Registered: Apr 2003
Location: Toronto, CANADA
Distribution: Gentoo
Posts: 79

Rep: Reputation: 15
File Sharing through Linksys Router ???


Hi:

I searched for 2 hours and just got confused... please help me sort this out.

I have a Linksys BEFSR41 4-port router connected to a cable modem and 2 computers runing Mandrake 9.1 both happily connecting to the internet through the router. The router dynamically assigns ip addresses.

My /etc/sysconfig/network files looks like this...
Code:
HOSTNAME=olias
NETWORKING=yes
GATEWAY=192.168.1.1
And my /etc/hosts file looks like this...
Code:
127.0.0.1               localhost
These 2 files are the same on the other computer with the exception of 'HOSTNAME' where it = 'gecko'. I set a directory in the home folders as 'share' with SMB and I also setup the respective user accounts on the opposite machine. We can both see the other machine under LinNeighbourhood and we can mount the other's share folder. But when I try to copy a file to the mounted share folder I get ACCESS DENIED.

Thanks, Olias
_____________________________________
When will ever I stop being a nOOb
 
Old 09-15-2003, 11:30 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 616

Rep: Reputation: 31
Question

What does your smb.conf look like? It should be located in /etc/samba/smb.conf.

The issue you are experiencing is most likely due to a bad SAMBA configuration. The shares are not properly set up, or the permissions on the actual shared directories and files are not properly set.

For example: if the shared directory is owned by root and the "world" does not have write permissions to that directory, you will not be able to put anything into that directory through SAMBA.

If you show me your smb.conf file, I will be able to help you further. Good luck!
 
Old 09-16-2003, 05:38 PM   #3
olias
Member
 
Registered: Apr 2003
Location: Toronto, CANADA
Distribution: Gentoo
Posts: 79

Original Poster
Rep: Reputation: 15
I feel bad posting this because it is obviously not set up yet. I'll read through the smb.conf(5) manual page and try to work through it. If you have any pointers, in the mean time, please post them.
Code:
[global]

 <snipped from eof...>
.
.
.
[OLIAS_SHARE]
   path = /home/olias/Share
   comment = /home/olias/Share
   public = yes
   guest ok = yes
   writable = no
   wide links = no
Thanks, Olias
 
Old 09-16-2003, 06:08 PM   #4
reelwylde
LQ Newbie
 
Registered: Apr 2003
Posts: 24

Rep: Reputation: 15
It looks like the resolution could be as simple as changing the "writable" entry in smb.conf to yes.

Cheers,
 
Old 09-17-2003, 07:00 PM   #5
olias
Member
 
Registered: Apr 2003
Location: Toronto, CANADA
Distribution: Gentoo
Posts: 79

Original Poster
Rep: Reputation: 15
Yes... I feel silly. Tanks
 
Old 09-17-2003, 08:36 PM   #6
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, Debian, RedHat/CentOS
Posts: 616

Rep: Reputation: 31
Check the permissions nonetheless. Writable could be set to yes, but if the user accessing that share has no write permissions, you will still get that error. Check ownership and permissions in all cases.
 
  


Reply


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
Linksys Router Smokey Linux - Hardware 4 07-13-2004 12:11 AM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
Sharing Internet through Linksys Router ! SuseBoy Linux - Networking 2 09-01-2003 02:09 PM
router problem with linksys router scheiße_comp Linux - Networking 10 08-20-2002 10:18 AM
Linksys Router hubergeek Linux - Networking 4 08-14-2002 04:48 PM


All times are GMT -5. The time now is 09:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration