search for: mount_ok

Displaying 2 results from an estimated 2 matches for "mount_ok".

Did you mean: count_ok
2001 Dec 16
1
smbmount and ownership of dir for mounting
Why can a user only mount on a directory which he owns with smbmount? Surely write permission should be enough worst case and likely this too should not be required. Other mount code allow mounts to occur without ownership (for example the CD-ROM mounting to /mnt/cdrom when ANY user types mount /mnt/cdrom without either ownership or write permission). It seems inconsistent. If the problem is in
2006 Dec 17
1
fstab based shared user mounts not possible
...e great if SMB mounts could be handld just as any other mount specified in /etc/fstab. Especially as the smbmount manpage states that usually smbmount is invoked by mount, and using mount and smbumount is kind of asymmetric and unintuitive. On the gentoo bug report someone pointed out the function mount_ok in smbmnt.c that compares mountpoint owner to current user, aborting if they are different. I guess I'd wish smbmount and the mount wrapper to show different behaviour in this respect. I see smbmount called directly by users to mount shares by providing credentials to mountpoints they themselv...