Thanks to Mr Google:- Providing Read/Write Access to the Share Another problem with mounting the Windows share as shown in the /etc/fstab file above is that only the root user would have read/write access to the share. All other users would have read only access to it. If you wanted read/write access to it for yourself, you need to specify your userid or groupid. http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.h tml
Robert What if there were no hypothetical questions? -----Original Message----- From: Fisher, Robert (FXNZ CHC) [mailto:[EMAIL PROTECTED] Sent: Monday, 25 August 2003 4:36 p.m. To: [EMAIL PROTECTED] Subject: RE: Rights to windows shares OK, more experiments and we have it working with both methods now:- * smbmount //servername/foldername /home/robert/foldername/ -o username=robert,password=xxxxxx and * smbumount /home/robert/foldername/ or * mount -rw -t smbfs -o username=robert,password=xxxxxx //servername/foldername /home/robert/foldername/ and * umount -t smbfs /home/robert/foldername/ Robert What if there were no hypothetical questions? -----Original Message----- From: Nick Rout [mailto:[EMAIL PROTECTED] Sent: Monday, 25 August 2003 4:28 p.m. To: [EMAIL PROTECTED] Subject: Re: Rights to windows shares this is weirder and weirder. on my rh 7.2 system with samba 2.2.7 I find the following: mount -t smbfs in fact calls /sbin/mount.smbfs (standard behaviour) /sbin/mount.smbfs is a link to /usr/bin/smbmount therefore on this system anyway you should presumably get the same results from mount -t smbfs and smbmount (unless it I cannot log into home right now to try the gentoo samba. hey i just noticed that the second edition of "Using Samba" (O'Reilly) is live on the net. It is to be included in samba 3.0, just as the first edition is bundled presently (look in your swat home dir). anyway, this chapter may help you http://us2.samba.org/samba/docs/using_samba/ch05.html On Mon, 25 Aug 2003 16:14:27 +1200 "Fisher, Robert (FXNZ CHC)" <[EMAIL PROTECTED]> wrote: > Yep, > > Tried mount -t smbfs -o rw username etc. etc. > And mount -t smbfs -o rw, username etc. etc > > Both gave Usage: etc. etc.........For many more details, say man 8 mount > > Robert > > What if there were no hypothetical questions? > > -----Original Message----- > From: Nick Rout [mailto:[EMAIL PROTECTED] > Sent: Monday, 25 August 2003 4:09 p.m. > To: [EMAIL PROTECTED] > Subject: Re: Rights to windows shares > > did you try mount -t smbfs with "-o rw,..." > > I used to believe that mount -t smbfs and smbmount did equivalent > mounts. > > > On Mon, 25 Aug 2003 15:15:57 +1200 > "Fisher, Robert (FXNZ CHC)" <[EMAIL PROTECTED]> wrote: > > > Thankyou all those who replied but especially to Hamish. I have it working > > at work now, hopefully the same method will work at home.. > > > > This worked (giving rw access):- > > > > * smbmount //servername/foldername /home/robert/foldername/ -o > > username=robert,password=xxxxxx > > > > (And I do not need to be root for the above to work) > > > > These gave read only access:- > > > > * mount -t smbfs -o username=robert,password=xxxxxx > > //servername/foldername /home/robert/foldername/ > > * mount -t smbfs -o username=guest //servername/foldername > > /home/robert/foldername/ > > > > Now that I seem to have a solution, it would still be interesting to know > > why my previous methods were not completely successful. > > > > Robert > > > > What if there were no hypothetical questions? > > > > > > Robert > > > > What if there were no hypothetical questions? > > > > -----Original Message----- > > From: Fisher, Robert (FXNZ CHC) > > Sent: Monday, 25 August 2003 9:33 a.m. > > To: Linux Users Group (E-mail) > > Subject: Rights to windows shares > > > > Last time I asked this question I got no replies but I am > > not giving up. > > > > We have, at home, several Windows boxes with shared folders > > which we can read and write to from other Windows boxes. > > > > I can also read and write to my Samba shares on my Linux > > boxes from the Windows boxes. > > > > My problem is that I do not have the ability to write to the > > Windows shares from my Linux boxes using smbfs (read access is fine) > > > > All ideas will be gratefully accepted (I am sure this must > > be something simple I have missed). > > > > TIA, Rob > > > > -- > Nick Rout > Barrister & Solicitor > Christchurch, NZ > Ph +64 3 3798966 > Fax + 64 3 3798853 > http://www.rout.co.nz > [EMAIL PROTECTED] > -- Nick Rout <[EMAIL PROTECTED]>
