Howdy all: I'm trying to use smbmount to mount a win9x share and copy some files for backup, eventually to run as a script invoked via cron. I have RH6.1/samba 2.0.5a, and the windoze box is win95b. If I do the standard mount (smbmount //winbox/backup /mnt/smb04) I have to be root. Also, after it's mounted, I can't create any files there as a normal user (even though the mount-point /mnt/smb04 is owned by me). The smbmount man page says: To mount an smb file system, I suggest using the option -c for smbmount to pass the mount command. For example, use smbmount "\\server\tmp" -c 'mount /mnt -u 123 -g 456' but the actual command does not understand this syntax, nor does it seem to have the latter two options for setting the user/group IDs (which it seems I need in order to get the right permissions on the mounted share). What am I missing here? Is there some other way to get what I need? I can't just backup the Linux box because all the suitable devices (cdr, dat, etc) are owned by the office windoze weenie. Any suggestions would be greatly appreciated. Thanks in advance, Steve **************************************************************** Stephen L. Arnold Senior Systems Engineer VAFB IV&V Activity email: arnold.steve@ensco.com ENSCO Inc. www: http://www.ensco.com P.O. Box 5488 voice: 805.606.8838 Vandenberg AFB, CA 93437 fax: 805.734.4779 with Std.Disclaimer; use Std.Disclaimer; ****************************************************************
On Fri, 26 May 2000, Stephen L Arnold wrote:> I have RH6.1/samba 2.0.5a, and the windoze box is win95b. If I do the[snip]> for smbmount to pass the mount command. For example, use > > smbmount "\\server\tmp" -c 'mount /mnt -u 123 -g 456' > > but the actual command does not understand this syntax, nor does it > seem to have the latter two options for setting the user/group IDs > (which it seems I need in order to get the right permissions on the > mounted share).Upgrade samba to 2.0.7. It has a different syntax (you mount it using mount -t smbfs, not smbmount and you want to make sure you have a "recent enough" mount program) but it does have the uid/gid parameters or downgrade to 2.0.4, I believe these options was temporarily lost in 2.0.5. /Urban
Hi, I'm having some problems with smbmount: I'm using Redhat 6.2 and previously had version 2.0.6 of samba running on the box. Problem was everytime I tried mounting a windows 2000 share on my linux i would have a 6 Gb limit (after copying 6 Gb I would receive input/output errors). I looked at the shares using df -h and sure enough it says the mount is only 6 Gb of which 0 free. I thought this was a bug so I updated my samba to 2.2.0 this morning, but the problem is still there. Furthermore the smbmount and umount commands are gone and I can only mount the windows share using mount -t smb. Anybody know what's going? Any help appreciated, Peter-Paul Keulers -------------- next part -------------- HTML attachment scrubbed and removed