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 -
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
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
-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
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
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
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
> //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
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.
>
>
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
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
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
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
13 matches
Mail list logo