I have mounted a windows share, But only root have write permissions..
I need to change that to my user(einar) so my programs can download and shave stuff to my windows share.
commands I've have used to mount:
sudo mkdir /mnt/ussenterprise sudo gedit /etc/fstab //servername/sharename /mnt/ussenterprise cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0 sudo mount -a
yes I have read access to everything in the mounted share, but only root gave write..
sudo chown einar:einar /mnt/ussenterprise, and
sudo chown einar /mnt/ussenterprise
what to do?
Changed my fstab to:
//server/share /media/share cifs username=msusername,password=mspassword,uid=1000,gid=1000 0 0