LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2004, 12:31 AM   #1
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Rep: Reputation: 15
Post Writing to a shared home folder


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.

Any help out there?

TIA
 
Old 05-17-2004, 03:21 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
check the file and directory permissions.
 
Old 05-17-2004, 06:58 AM   #3
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
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?




Thanks
 
Old 05-17-2004, 07:18 AM   #4
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
tray adding

valid users = user1,user2

to your share definition..
 
Old 05-17-2004, 07:44 AM   #5
confused_bof
Member
 
Registered: Sep 2003
Location: Oz
Distribution: Ubuntu, Kubuntu, MythBuntu
Posts: 136

Original Poster
Rep: Reputation: 15
Quote:
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).

Thanks
 
Old 05-18-2004, 06:50 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
try changing the home directory perms to

drwx---r-x for the /home/someuser directory from

drwx------
 
  


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
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 02:09 PM
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Cant add folder into my shared folder? amer_58 Linux - Newbie 2 04-03-2005 11:35 AM
gnome home folder and trash folder ambelos Linux - Software 2 02-24-2004 06:44 AM
problem writing to a shared windows folder doddy Linux - General 2 09-05-2002 06:43 PM


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