![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I'm trying to mount samba share on my freeBSD laptop as a normal user but I'm getting an error.
Code:
> mount_smbfs //user@REX/data /mnt/user Warning: no cfg file(s) found. mount_smbfs: can not setup kernel iconv table (ISO8859-1:tolower): syserr = Operation not permitted > |
|
||||
![]()
Last I heard, this was because only root is allowed to setup the kernels iconv table.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
![]()
You could try using sudo, although I prefer mounting the Samba share from /etc/fstab during boot.
__________________
"I never think of the future. It comes soon enough." - A.E Useful links: FreeBSD Handbook | FreeBSD Developer's Handbook | The Porter's Handbook | PF User's Guide | unix-heaven.org |
|
|||
![]()
Im using sudo to mount smb share as normal user, too. But dont give a normal user the right to explicitly execute mount_smbfs command without supplying password, a better practice would be:
- Put the mount command in a script. - Run visudo to make change in sudo config file. - Give yourself the right to execute that script without password (option NOPASSWD).
__________________
...then the God created man... |
![]() |
Tags |
mount, samba |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: mounting an USB device as normal non-root user in OpenBSD | J65nko | Guides | 6 | 20th May 2017 12:03 PM |
Mounting USB as a normal user | rex | FreeBSD General | 23 | 5th March 2012 01:52 PM |
How to Run K3B with normal user openBSD 4.4 | mfaridi | OpenBSD General | 6 | 12th November 2008 10:25 PM |
Wireshark not run in normal user | mfaridi | FreeBSD Ports and Packages | 2 | 7th November 2008 09:49 PM |
Samba global share | Weaseal | General software and network | 1 | 17th July 2008 10:48 AM |