How to mount cifs as another user in linux using fstab

Follow this template

//10.0.10.20/myshare/mysubfolder /radio cifs username=root,password=mycifspw,uid=www-data,gid=root  0 0

 

Leave a Reply

Close Menu
%d bloggers like this: