[H-GEN] Sharing folders on SMB - Mandrake 9.2

Rick Phillips rickp at suntech.net.au
Sun Jun 15 03:38:56 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Sun, 2003-06-15 at 16:45, Alex Delaforce wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> 
> Rick,
> > probably a permission thing but then having created it as root and 
> > being logged in as root is probably not a good test.  Root can do/see 
> > anything.
> I couldn't make a file in /mnt/SharedDocs that's why I su'd to root

Before, I assumed that you had mounted /mnt/SharedDocs.  Did you issue
the mount command (as root)?

> > 
> > To check what is in the XP shared folder, change to Administrator on 
> > the XP box and see if the test file is really there.  It might still 
> > be cached locally on the Linux box.
> Not there

See above

> > If it is not on the XP machine, unmount the share on the Linux and 
> > that should force a write.
> Unmounted then mounted now the test file is not to be found. On either
> machine
> > 

See above

> > As you have created the file as root, you should probably try setting 
> > up a user on the XP box matching the user name and password that you 
> > would normally use on the Linux box
> Same user name and password on both already set up.
> 
> > read/write/execute permissions on the shared folder.
> Tried doing this in Konqueror - didn't have enough permissions. How do I
> do this?

You would have to do this on the XP box usually as the XP machine is the
one denying permission.

You will have to change to Administrator and then using Windows
Explorer, right click on the folder and then select "sharing" or
"permissions" (can't remember the steps) then select the permissions
button to see what you have got.  It should be available to "Everybody"


> How do I check this? I selected it as an install option

Go to Mandrake Control Centre, select Software Management then Software
Removal.  Do a search on "Samba" and if samba-client comes up it is
installed at least.  Just exit from Mdk Control Centre.

smbclient is command line driven but don't worry about that yet.

(a)  Make sure that the XP shared folder is available to "Everybody"
(b)  Mount the share by trying 
     mount -t smbfs /mnt/SharedDocs /static.address.of.xpmachine/folder

See how you go with that.

Regards,

Rick




--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list