On Tue, Mar 05, 2019 at 01:08:43PM -0700, Joe Zeff wrote: > On 03/05/2019 12:44 PM, Bob Goodwin wrote: > > > > > >On 03/05/19 13:46, Joe Zeff wrote: > >>On 03/05/2019 11:38 AM, Bob Goodwin wrote: > >>>I mount it on /mnt/box48 and the problem seems to be permissions: > >> > >>I've found that mount sometimes insists on mounting partitions > >>ro, even if you specify r/w. The only thing I've ever found > >>that always works (for me) is the mount option umask=0000. > >. > >Ok, I'm not familiar with that command, not sure what it does, > >wants to be run as root, but it does work to mount what I see in > >the terminal. Should I put it in fstab? > > Yes. Put it in fstab instead of defaults. I use this for the options in fstab: credentials=/root/.smbcred,defaults,uid=my-username,gid=my-username,auto,users,exec,vers=3.0 the credentials= points to a file with read-only permissions, owned by root. it contains username=xxx password=yyy vers=3.0 restricts it to version 3.0 of the SMB protocol. If your file share supports that version it's a good idea to restrict it on both the server and the clients, since earlier versions of SMB are rife with holes. for the uid= and gid= items you can also user the numerical value, from /etc/passwd and /etc/group. I find this works fine with my NAS box, which I talk to via SMB. -- ---- Fred Smith -- fredex@xxxxxxxxxxxxxxxxxxxxxx ----------------------------- "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of heaven, but only he who does the will of my Father who is in heaven." ------------------------------ Matthew 7:21 (niv) ----------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx