fstab syntax
fstab syntax
I need some new eyes as I am not seeing the error. I am trying to mount a CIFS share that will be rw for everyone. When I try to mount it I get an "Invalid argument" error.
//192.168.10.110/Backups /Backups cifs defaluts,uid=1000,gid=1000,umask=000,credentials=/etc/security/fstab.EAP 0 0
Can someone spot my error? TIA.
//192.168.10.110/Backups /Backups cifs defaluts,uid=1000,gid=1000,umask=000,credentials=/etc/security/fstab.EAP 0 0
Can someone spot my error? TIA.
Re: fstab syntax
defaluts should be defaults and the contents of credentials=/etc/security/fstab.EAP should be:
user=username
password=password
user=username
password=password
Last edited by Thraex on 2020/04/27 17:57:36, edited 1 time in total.
Re: fstab syntax
Thanks. I knew I was missing something dumb. Unfortunately after correcting the spelling, I get the same error. Should the credentials file be one line or 2 or does it not matter?
I'm thinking it is something on the windows side because if I leave out the credentials and let if prompt, that error occurs after entering the password.
I'm thinking it is something on the windows side because if I leave out the credentials and let if prompt, that error occurs after entering the password.
Last edited by gw1500se on 2020/04/27 17:53:31, edited 1 time in total.
Re: fstab syntax
Credentials file is one line per parameter, no leading spaces
Also, are you really sure you want to use umask=000?
Also, are you really sure you want to use umask=000?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: fstab syntax
I edited my previous post while you were responding.
Yes, I want all users full access.
Yes, I want all users full access.
Re: fstab syntax
Do you have the cifs-utils package installed?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: fstab syntax
My apologies. This is technically the wrong forum. The problem is on Raspberian not Centos.