Mounting a shared network drive on our internal server running Ubuntu - to make it read and write enabled, PB reports the command to be:
sudo mount –t cifs //ip-address/Share_name /local/mount/path –o username=correct_uname,uid=local_uid,gid=local_uid
Then, the local_uid user has read + write permissions.
Edit: 11 July 2016
This post about listing hostname with ip address is useful.
Also, PB adds one more tip - for mounting shares with spaces, use single quotes
sudo mount -t cifs '//192.168.1.1/SHARE WITH SPACES' tempmount -o username=guest,password='',nounix,sec=ntlmssp
sudo mount –t cifs //ip-address/Share_name /local/mount/path –o username=correct_uname,uid=local_uid,gid=local_uid
Then, the local_uid user has read + write permissions.
Edit: 11 July 2016
This post about listing hostname with ip address is useful.
Also, PB adds one more tip - for mounting shares with spaces, use single quotes
sudo mount -t cifs '//192.168.1.1/SHARE WITH SPACES' tempmount -o username=guest,password='',nounix,sec=ntlmssp
No comments:
Post a Comment