From owner-freebsd-questions@freebsd.org Sun Jan 14 01:55:37 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA4EBE6D8E1 for ; Sun, 14 Jan 2018 01:55:37 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADD6B83760 for ; Sun, 14 Jan 2018 01:55:37 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x235.google.com with SMTP id f143so13438707itb.0 for ; Sat, 13 Jan 2018 17:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tDL+i7LrIFQq7n11rS6t8YdVFKVgqFsF5uRoCRwN5pU=; b=TtgO8dlYiWVMgz+jM5cAjPXgr7n01SEwn0mFDlIhhc3ZBeAjACpnLIErfHZ9fa7Ej+ zb9wEbaWBenWODG1UuziM00I8X/O6Bs83eXhjh6sdoGt9rutGMFNpao4e1Hh1biDYqz1 Y2x9ioIaliwosU0QwxEZUQE9CVeNiMTHvdkxtv0d/zlLEJAMUdHjxY9attY79XenrXB2 BZ0TXtBgFAFCzXrxQp2+NOBkTyCk65JEGdyS+9zT0hhPnM/F2ids7yjrh0ilCyykGypy bqaHlH0rLQVHhUJAjr/AX9URbC6vjxfw+bI7ogDhuix0uFr5ys9h6s4fymZE66sx9FoN g6ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tDL+i7LrIFQq7n11rS6t8YdVFKVgqFsF5uRoCRwN5pU=; b=C+6qk/qHOgeeahcbX3f1DsUSaleOS0zD7C0KR0jywxp9JF9j+PR2B2PAqyJlDBvKCm ycLVrTcopd590y9O3nx1x+eGW0pKK+6ybxjPvX1uw67OHrTy2L1O7ZbdOhdf/OD+XplD RXaFXFRQtBHOUQwax7iE4DDOeeuaROoM1RFUIpWU9//BHWFp4eloJOjzcrBSR5/yDYmO TTckx+/jvUjahTMDJ2q89DRe9Rv3GDVwehTv35j6otAh7Sd0iuJrGUNHhG9VYtGGhDIZ R9WP782KhQveYo8+wqbMh/7Dr4Ew8LZjc6Ha8PnAzDPuns2Xq4S6/lUpMQ4IpXReHd2V L6fA== X-Gm-Message-State: AKwxytcLC6k6PqLz2NAwITjQbCaI+MgxZHEN8TdkxQJxhmKPoS/No2H7 LOJM9GmLmdQaI7AEBo2CD2hEGgAAJnnfGM6t5Z45ClD+ X-Google-Smtp-Source: ACJfBotPa7ruuBJtFLRY9VpeG2wsf/0OjYpgRxwSOUuZMxew72QJAPE428YZB4mWjeIiroBkW6jcSWzF+7TQC+HRCC8= X-Received: by 10.36.185.18 with SMTP id w18mr9575819ite.140.1515894936148; Sat, 13 Jan 2018 17:55:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.164.193 with HTTP; Sat, 13 Jan 2018 17:55:35 -0800 (PST) In-Reply-To: References: From: blubee blubeeme Date: Sun, 14 Jan 2018 09:55:35 +0800 Message-ID: Subject: Re: msdosfs_iconv issues To: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2018 01:55:38 -0000 On Sat, Jan 13, 2018 at 1:08 AM, blubee blubeeme wrote: > according to man msdosfs > > I can run a command like this: > mount_msdosfs -L en_US.UTF-8 /dev/da0s1 $HOME/usb > > this always returns operation not permitted. > > looking into that a bit further it seems that I need to load a > msdosfs_iconv.ko and that needs to be root, using > /etc/rc.conf > or > /boot/loader.conf > > the module is loaded at boot time but I still get operation not permitted. > > if I remove the locale option from mount_msdosfs the file loads but of > course, I cannot read any of my documents. > > This seems a bit odd but I understand that constantly loading > msdosfs_iconv can DDoS the system fine. > > How can I mount my drives with locale or at least proper utf-8 encoding? > [bumb] This is the only thing that works so far: https://forums.freebsd.org/threads/36897/ First mount_msdos -L [locale] with root, then unmount then mount with regular user. This totally ruins the point of mounting w/o root permissions. Is there any way to fix this w/o doing root commands?