LinuxQuestions.org
Help answer threads with 0 replies.
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 07-29-2004, 12:06 PM   #1
robintw
Member
 
Registered: Jul 2004
Posts: 48

Rep: Reputation: 15
Samba 3: Can't write to shared directories from Windows


Hi all,

Using samba on my SUSE 9.1 installation I can view shares on all my other windows machines, and they can view the shared folders on the linux machine. What they cannot do, however, is write anything to the shared folders.

Here is an excerpt from my smb.conf file:

[shared]
comment = Shared directory on Linux box
path = /shared
guest ok=yes
writeable = yes
Read only = no

How should I alter this so this folder is writeable by everyone from my windows machines.

Thanks in advance

Robin
 
Old 07-29-2004, 02:00 PM   #2
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
well, i use suse 9.1 as well...and i set up the sharing without manually changing anything.
all i did was rightclick on the desired folder and choose share, and then choose "shared - writeable for others"...and it works like a charm!
 
Old 07-29-2004, 02:02 PM   #3
robintw
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Hi

You right clicked on the folder...in which program?

Robin
 
Old 07-29-2004, 02:13 PM   #4
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
i used Konqeror
 
Old 07-29-2004, 02:14 PM   #5
robintw
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Hi

Doesn't work for me!

No option for sharing under knoppix!

Robin
 
Old 07-29-2004, 02:20 PM   #6
ZaphyR
Member
 
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
in your first thread you write that you're using SuSE 9.1?
well, it's a while since i did this...but i believe you have to choose properties the first time, then configure local net sharing. after that you get the share option.
 
Old 07-30-2004, 08:25 PM   #7
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Try chmod -R 755 /shared and see if that helps.
 
Old 07-31-2004, 04:36 AM   #8
robintw
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Hi

Thanks all...got it working now.

Thanks

Robin
 
Old 07-31-2004, 05:54 AM   #9
robintw
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Hi again,

Is there a way to do this without having to chmod it?

I have a webserver directory which is /srv and I want to be able to write to it over the network, but I can't chmod 777 it...because I don't want my webserver directory to be writeable by all (not very secure when its live on the net).

Any ideas?

Robin
 
Old 07-31-2004, 07:12 AM   #10
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Quote :
------------------------------------------
Hi again,

Is there a way to do this without having to chmod it?

I have a webserver directory which is /srv and I want to be able to write to it over the network, but I can't chmod 777 it...because I don't want my webserver directory to be writeable by all (not very secure when its live on the net).

Any ideas?

Robin
--------------------------------------------

Have you used chmod 744 /srv ?
This gives the permissions of rwx r-- r--
or you could use
chmod 755 /srv for permissions of rwx r-x r-x
or if you are trying to write to it by using a workgroup use

chmod 775 /srv for rwx rwxr r-x
or
chmod 774 /srv for rwx rwx r--
 
Old 07-31-2004, 10:13 PM   #11
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Not to mention, if you give full access, Samba (in this case), or your web server in the second case will limit what the users can do. But if linux has it restricted more than Samba or whatever, linux will override for security purposes. Know what I mean?
 
  


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
Samba problems: can't write to shared folder Nylex Linux - Networking 4 07-19-2005 05:40 PM
SAMBA is configured but I can see the shared the directories ashley75 Linux - General 2 07-08-2005 09:51 PM
no access to shared directories with samba Meriadoc Linux - Networking 1 03-13-2005 07:42 AM
Windows XP/NTFS + Virtual PC/Mandrake + Samba = Shared Directories? IamI Mandriva 1 12-18-2004 07:06 PM
Can't acess directories shared by Samba in windows XP vador Linux - Networking 4 10-29-2004 05:06 PM

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

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