Article 4YTS8 cifs

cifs

by
lelunicu
from LinuxQuestions.org on (#4YTS8)
hi,
i like to mount a cifs share in centos.

mount -t cifs -o vers=1.0,_netdev,username=y,password=y,uid=1000,gid=1000,ip=192.168.30.149 //100.93.214.220/cifs /home/y
Unable to find suitable address.

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

i understand that in cifs case when share directory is shared to everyone,then normally no uid,gid in linux is needed.right?
yet uid,gid is needed in mount in order to have mount point rw.right?

so in my case user y will has rw access to cifs mounted under /home/y.

ping 100.93.214.220 -work.

//100.93.214.220/cifs work in window
i have everyone on the cifs with full access.latest?d=yIl2AUoC8zA latest?i=qqcWOVWNIBo:_Z03-AI5mXQ:F7zBnMy latest?i=qqcWOVWNIBo:_Z03-AI5mXQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=qqcWOVWNIBo:_Z03-AI5mXQ:gIN9vFwqqcWOVWNIBo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments