Re: SMB shares in fstab

2000-09-09 Thread John Aldrich
On Fri, 08 Sep 2000, Jonathan Wilson wrote: > > However, at the moment this is a different topic, which I belive I can > solve by reading the docs. The problem now, is that users cannot mount and > smb share (what it gets mounted as is irrelevant for now). The reason for > this is that mount -

Re: SMB shares in fstab

2000-09-09 Thread Bret Hughes
Jonathan Wilson wrote: > I just tried chmod +s /usr/bin/smbmount too, and I still get: > > [jw@garnet jw]$ mount /mnt/Cschomeserver/ > cannot mount on /mnt/Cschomeserver: Operation not permitted > smbmnt failed: 1 > mount.smbfs: ioctl failed, res=-1 > Could not umount /mnt/Cschomeserver: Invalid

Re: Re: SMB shares in fstab

2000-09-09 Thread Kirk
As root do: chmod 4755 /usr/bin/smbmount That shoud do ya. I will set the sticky bit (SUID). You may also want to do ( smbmnt and smbumount ) too. Kirk >On Fri, 8 Sep 2000, Jonathan Wilson wrote: > I just tried chmod +s /usr/bin/smbmount too, and I still get: > > > [jw@garnet jw]$ mount

Re: SMB shares in fstab

2000-09-08 Thread Jeff Hogg
-Original Message- From: John Aldrich <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, September 08, 2000 10:07 AM Subject: Re: SMB shares in fstab >On Thu, 07 Sep 2000, Barton Hodges wrote: >> I don't have an example, but I found

Re: SMB shares in fstab

2000-09-08 Thread Jonathan Wilson
I just tried chmod +s /usr/bin/smbmount too, and I still get: [jw@garnet jw]$ mount /mnt/Cschomeserver/ cannot mount on /mnt/Cschomeserver: Operation not permitted smbmnt failed: 1 mount.smbfs: ioctl failed, res=-1 Could not umount /mnt/Cschomeserver: Invalid argument [jw@garnet jw]$ I think i

Re: SMB shares in fstab

2000-09-08 Thread Jonathan Wilson
No, please understand: when the mounting occurs, samba TOTAL ignores the permissions on the mnt point, and resets them to what it pleases (right now its root root 755 I think) So it wouldn't even matter if it was world read/writable, samba woul still change the permissions without asking. How

Re: SMB shares in fstab

2000-09-08 Thread John Aldrich
On Thu, 07 Sep 2000, Barton Hodges wrote: > I don't have an example, but I found that I had to > make the mount directory be owned by the user that wants to mount. > Or perhaps, just making the directory owned by a GROUP that the user is a member of would be enough? Especially if you made the di

RE: SMB shares in fstab

2000-09-07 Thread Chad W. Skinner
> //computer/share /mnt/place smb noauto,user 0 0 > ... > chown user.user /mnt/place Crazy Q., but will a tilde in the fstab file be expanded when a user mounts a shared volume. If so you could try ~/mnt/place and make sure these directories exist in your home directory. If this

Re: SMB shares in fstab+ usermountable

2000-09-07 Thread Barton Hodges
you need to use the fmask and dmask arguments in the fstab then man smbmount rtfm! Jonathan Wilson wrote: > > Also, even thought it's chgrp users samba mount it with it's own > permissions. (root and root) that's no good, because users nee to be able > to write to there too. > >

Re: SMB shares in fstab+ usermountable

2000-09-07 Thread Jonathan Wilson
Also, even thought it's chgrp users samba mount it with it's own permissions. (root and root) that's no good, because users nee to be able to write to there too. JW At 06:26 PM 9/7/2000 -0500, you wrote: >Have you tried it??? > >here's the line you're looking for: > >//comput

Re: SMB shares in fstab

2000-09-07 Thread Barton Hodges
Have you tried it??? here's the line you're looking for: //computer/share/mnt/place smb noauto,user 0 0 and while you are at it, make sure to do chmod +s smbmnt because it will probably complain if you don't then, try: mount /mnt/place when /mnt/place is owned by root

Re: SMB shares in fstab

2000-09-07 Thread Jonathan Wilson
That's completely useless: samba resets the permission's at mount time (which is normal, and well known and tested) Again, I don't really need any info except an example line. Thanks, JW At 05:28 PM 9/7/2000 -0500, you wrote: >I don't have an example, but I found that I had t

Re: SMB shares in fstab

2000-09-07 Thread Barton Hodges
I don't have an example, but I found that I had to make the mount directory be owned by the user that wants to mount. Jonathan Wilson wrote: > > Hello, > > I would like to see a real, living, working example of the line in > /etc/fstab that allows users (no, not just root, users) to mount a s

SMB shares in fstab

2000-09-07 Thread Jonathan Wilson
Hello, I would like to see a real, living, working example of the line in /etc/fstab that allows users (no, not just root, users) to mount a samba share. (short note: every time I ask this people start offering advise about alternatives to this - please don't do that, I just want to see a wo