1 of 3

What's your Ubuntu question? Be specific

After I mounted a domain share I tried to find duplicates with fdupes, but then I found out that I don´t have permissions to the subdirectories of the share. This is how I mounted the share:

First I made the /media/sharename with mkdir.

Then I added this line in /etc/fstab: //servername/sharename /media/sharename cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

And I made the file with the credentials with: gedit ~/.smbcredentials


Then I used the sudo mount -a to mount the share.

Is the share not looking at the permissions of my MS account/credentials?
Or do I have to change something in the fstab line to do that?
Or is it possible to do this another way?