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

> 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

Check the manual page for smbmount: -f, -u and -g are the flags you're
looking for.



------------------------------
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