Thursday, August 18, 2011

CentOS 5: Mount samba share in read-write mode

To mount a windows share on centos with read-write mode, I used the following command as a root
/sbin/mount.cifs //ip_address/windows_sharename/ /home/w/my_folder_on_centos/ -o rw,user=windows_username,password=windows_password,uid=linux_usernameI noticed, that without uid=linux_username, the command will mount the share in read-only mode.