Michael,
Don't know if this will help, but:
I'm playing with mounting CD-ROMs on Win95 boxes scattered around
the office so I can access the pdf files on them from my web server.
(Conference rooms, Print Server, etc..)
Shared the CDs on the machines and used
smbclient -L machine to see the share names.
Created several directories in the /home/httpd/html/cd/cd1 , etc..
and then used:
smbmount //machine/SHARE_CD /home/httpd/html/cd/cd1 -f 555 -d 555
That gets me around the "Permission Denied" msg on the Browsers..
Plugged the smbmount commands in /etc/rc.d/rc.local and
changed the "backup" tar commands to "smbumount" before backups run.
(funny how short tapes get when you tar off CDs ;) )
Now, gotta fire up a cron script to keep checking for mounted CDs.
Nice thing is, IF someone walks up and ejects the mounted CDs, says
oops, and plugs 'em back in, Linux re-mounts them automagically :-)
NT? dunno.
Hope it helps,
Rick
On Mon, 30 Mar 1998, Michael Jinks wrote:
> To recap an earlier post, I'm using smbmount to mount a shared NT drive
> on a RedHat5 box. I need to give access to that drive to
> non-superusers, but I can't get the file permissions to change.
>
> I've been websurfing looking for more info on this, but the HOWTO only
> covers smbclient (can't use it for reasons I won't bother with here),
> and the page at //samba.anu.edu.au/samba/docs isn't very helpful either;
> the command line they recommend produces an smbmount usage error on my
> machine.
>
> man smbmount says that -g and -u options will set the gid and uid of the
> share, but on my machine they appear to have no effect. Are they
> switched off somewhere?
>
> I've been looking at /etc/smb.conf, but that seems like it's mostly for
> the server side.
>
> Can someone please help? I know that there must be someone else doing
> this.
>
>
--
Rick L. Mantooth [EMAIL PROTECTED]
http://www.why.net/users/rickdman/index.html
Lead me not into temptation, I can find it myself.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.