Linux - NetworkingThis 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.
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.
I recently upgraded the only LINUX PC on our small office LAN from MDK9.x > MDK10 upgrade, which also updated SAMBA 2.x > SAMBA 3.x - the other four PCs are all WinXP.
Althought the upgrade trashed my previous SAMBA configuration, generally everything has been restored and seems fine now. Except I can't work out what is needed to write to a specific users shared directory in /home/
By example, in smb. conf I have
[SOMEUSER]
path = /home/someuser/Documents
comment = Some User's Documents
read only = no
guest ok = yes
hosts allow = 192.168.0
browseable = yes
available = yes
The directory /home/someuser/Documents has been set permissions for sharing and to allow read/write
Among other things I have tried
[global]
workgroup = MSHOME
security = SHARE
and
[global]
workgroup = MSHOME
security = USER
No matter. While I can log in OK from another PC on the LAN, I get READ ONLY permissions.
I've obviously missed something, but be buggered if I can get my head around it.
Originally posted by ppuru check the file and directory permissions.
That's the problem- they are definitely read/write.
Using Konqueror's Properties dialog:
I have
*set Owner, Group & others can "View & Modify" on the "Permissions" tab
*set "Local Net Sharing" = Shared
*"Samba" "shared" = true, Read Only is false, Browseable & Available both are true.
You can sense my frustration, but I reckon the explanation is something simple.
Would I need to be root or "su" to set these permissions?
Originally posted by LuggerHouse tray adding valid users = user1,user2
to your share definition..
Yes, that was done too. The owner + a guest account. When "security = USER", access from an XP machine prompts for a password for the user. A correct password, as defined in smbpasswd, allows one to view the directory (read only).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.