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.


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.