We're making progress, BUT still have a glitch:

I can mount the files in the Windows PC box using:

mount -w -t smbfs -o password=secret //jan/jan /home/jan/JansPC

and just added an entry into /etc/fstab so I can simply do: mount/
/home/jan/JansPC. 

/etc/fstab:
//jan/jan    /home/jan/JansPC    smbfs   password=secret,user   0 2

Cool, huh?  Here's the glitch;

smbmount will only run from root, so every Directory on the mounted file
system has owner and permissions set to:

drwxr-xr-x   1 root     root          512 Feb 16 05:45 WOW

I need to have permissions set to drwxrwxrwx, or owner set to jan:.  As it
is right now the only way I can write to //jan is if I run the local
programs from root.

Is there any way to change owner or permissions on the mounted file
system so I can write to them from a user account?

Glen



On Thu, 3 Aug 2000, Glen Lee Edwards wrote:

>It wasn't installed, and I wasn't sure what name to look for it under.
>
>Thanks to Linda Hanigan and an EXCELLENT howto, complete with a working
>smb.conf file, I have Samba working - My wife can access her files on my
>Linux box from her Win95 box.
>
>However, I don't have a clue how to from my Linux box access her computer.
>Any hints are appreciated.
>
>Glen
>
>
>
>On Wed, 2 Aug 2000, Nitebirdz wrote:
>
>>On Thu, 3 Aug 2000, Danny wrote:
>>
>>> (as root)
>>> 
>>> updatedb -
>>> locate samba | more
>>> 
>>> Or which smbd
>>> Or whereis smbd
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> At 12:36 PM 8/2/00 -0500, you wrote:
>>> >Just installed a LAN - have a WinPC tied through a hub to this Linux box.
>>> >I tried to configure and start Samba, but I can't seem to find the
>>> >program.  which samba turns up nothing, as does which smb.  Where do I
>>> >find the beasty?
>>> >
>>> >Glen
>>> >
>>
>>If you're positive Samba has been installed, then simply start the daemon
>>from:
>>
>>/etc/rc.d/init.d/smb start
>>
>>That should take care of it, I believe.
>>
>>
>>------------------------------
>>Nitebirdz
>>http://www.linuxnovice.org
>>Tips, articles, news, links...
>>
>>
>>
>
>
>
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to