Bug 61503 - [smbfs] mount_smbfs does not work as non-root
Summary: [smbfs] mount_smbfs does not work as non-root
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-fs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-18 00:30 UTC by Tim J. Robbins
Modified: 2018-05-28 19:42 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim J. Robbins 2004-01-18 00:30:11 UTC
mount_smbfs does not work as a non-root user when vfs.usermount is set to 1;
it fails with "Operation not permitted" when trying to install a kernel iconv
table.

Fix: 

Not known. Perhaps mount_smbfs could check whether the iconv table already
exists and avoid trying to load it. This would avoid the problem in the
common case where the table is already loaded.
How-To-Repeat: sysctl vfs.usermount=1
mount_smbfs //user@server/share /mnt/share
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-05-18 05:23:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-fs

Over to maintainer(s).
Comment 2 Matthieu Volat 2014-11-07 09:31:33 UTC
Wow, fumbling on a 10 year old bug, did ever somebody proposed a fix for that problem?
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:42:44 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.