Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-29-2004, 12:06 PM
|
#1
|
Member
Registered: Jul 2004
Posts: 48
Rep:
|
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
|
|
|
07-29-2004, 02:00 PM
|
#2
|
Member
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245
Rep:
|
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!
|
|
|
07-29-2004, 02:02 PM
|
#3
|
Member
Registered: Jul 2004
Posts: 48
Original Poster
Rep:
|
Hi
You right clicked on the folder...in which program?
Robin
|
|
|
07-29-2004, 02:13 PM
|
#4
|
Member
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245
Rep:
|
i used Konqeror
|
|
|
07-29-2004, 02:14 PM
|
#5
|
Member
Registered: Jul 2004
Posts: 48
Original Poster
Rep:
|
Hi
Doesn't work for me!
No option for sharing under knoppix!
Robin
|
|
|
07-29-2004, 02:20 PM
|
#6
|
Member
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245
Rep:
|
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.
|
|
|
07-30-2004, 08:25 PM
|
#7
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
Try chmod -R 755 /shared and see if that helps.
|
|
|
07-31-2004, 04:36 AM
|
#8
|
Member
Registered: Jul 2004
Posts: 48
Original Poster
Rep:
|
Hi
Thanks all...got it working now.
Thanks
Robin
|
|
|
07-31-2004, 05:54 AM
|
#9
|
Member
Registered: Jul 2004
Posts: 48
Original Poster
Rep:
|
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
|
|
|
07-31-2004, 07:12 AM
|
#10
|
Member
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118
Rep:
|
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--
|
|
|
07-31-2004, 10:13 PM
|
#11
|
Member
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 09:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|