Article 4R2NS Permission denied on file operations on mounted cifs share

Permission denied on file operations on mounted cifs share

by
Geoff_L
from LinuxQuestions.org on (#4R2NS)
Background: I'm trying to resurrect an old Dell Vostro 1710 laptop, which is a 32-bit, Celeron-based machine. It initially had Windows Vista Home Basic, but I've rebuilt the machine with Debian Buster 32-bit. I'm trying to access a resource on a network fileserver that's running Debian 9 and which exposes resources as Samba shares that I have no issues accessing from Windows 7 computers. I'm trying to access these shares with the same username as I use successfully from Windows.

I can't mount these shares as a normal user because mount -t and -o are only permitted for root. So I have to mount the shares via sudo thus:
Code:$ sudo mount -t cifs -o rw,username=myusername //server/share ~/mnt/folderFrom that point, I can carry out all operations as root but I only have read access as myself. Even if I do sudo chmod 777 ~/mnt/folder, ls -l shows the folder and contents to be mod 755.

All help gratefully received, Geofflatest?d=yIl2AUoC8zA latest?i=VIQj52bQAmA:8cseOfZsbFM:F7zBnMy latest?i=VIQj52bQAmA:8cseOfZsbFM:V_sGLiP latest?d=qj6IDK7rITs latest?i=VIQj52bQAmA:8cseOfZsbFM:gIN9vFwVIQj52bQAmA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments