Thursday, 22 June 2017

mount cifs -bash: !,uid=,gid=: event not found

Error:
While mounting cifs windows shared file system with RHEL getting below error

mount -t cifs -o username=admin,password=admin,uid=1010,gid=1011 //1.1.1.1/SHARE /mnt/SHARE
-bash: !,uid=54322,gid=54324: event not found


Solution:

The order of the value is wrong try with below.

mount -t cifs -o uid=1010,gid=1011,username=admin,password=admin //1.1.1.1/SHARE /mnt/SHARE

No comments: