Re: Samba config -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-07-05 19:23, Bob Goodwin wrote:
>
>
> On 2020-07-05 02:30, Ed Greshko wrote:
>> I get the feeling he may have an entry in fstab which spanned/spans 2 lines?
>>
>> Yes, I asked him to comment out the line and then just try the full command from the command line
>> to eliminate an issue with /media/smb.  In a previous message he showed the full contents of
>> /media so it doesn't appear that the directory is missing.
>>
>> Would be "nice" if he would attach the actual fstab so it won't be wrapped/formatted by an
>> email client.
>>
>> FWIW, he never confirmed that he actually did comment out the fstab entry.
> °
> Well here is a copy of /etc/fstab, now with the extra lines 'commented out' I think, the way I always do it?
>
> [bobg@WS1 ~]$ cat /etc/fstab
>
> #
> # /etc/fstab
> # Created by anaconda on Tue Apr 28 17:29:19 2020
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
> #
> # After editing this file, run 'systemctl daemon-reload' to update systemd
> # units generated from this file.
> #
> UUID=dc58ec30-a128-4557-9b66-02b9e897ccbd / ext4    defaults        1 1
> UUID=cd1cce29-230c-42f4-b71a-662d74aac4e0 /boot ext4    defaults        1 2
> UUID=b8657d71-feaa-41b4-a2ea-fff2bfa12b76 /home ext4    defaults        1 2
> /dev/mapper/fedora_localhost--live-swap none swap    defaults        0 0
> # //192.168.50.148/smbBOX48         /mnt/box48/    cifs defaults,password=cred   0 0
> # //192.168.50.149/home/share        cifs    /media/smb defaults   0 0
> # //192.168.50.149/   /media/smb cifs cred=/home/bobg/cred,iocharset=utf8,vers=3.0,noperm 0 0
> # //192.168.50.149/home/share    /media/smb    cifs defaults,credentials=/home/bobg/cred   0 0
> # //192.168.50.149/home/share  /media/smb cifs uid=bobg,credentials=/home/bobg/#
> #   cred,iocharset=utf8,noperm,dir_mode=0775,file_mode=0664  0 0
>
> mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share /media/smb
>
> 192.168.50.32:/nfs4exports/home  /media/nfs    nfs4 rw,soft,intr,fg,comment=systemd.automout  0 0
>
> Much of it is trash I've tried, juust examples of "what don't work" and this is what I get this morning.
>
> [root@WS1 bobg]# mount /media/smb
> mount: /etc/fstab: parse error at line 23 -- ignored
> mount: /media/smb: can't find in /etc/fstab.
>
> Is the command not right?

You put the mount -o uid=bobg,credentials=..... command in the fstab????

That is not what I intended.

I wanted you to "execute" that command from the command line to make sure there was no
problem with the /media/smb directory.

Kindly remove that from your fstab.

And then "execute" that command from the command line to
-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux