Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 827

Can't change ownership of cifs mounted Samba Share

$
0
0

In my Home Lab, I have an Ubuntu 20.04 Server and a Raspberry Pi as a VPN.

I have two separate Samba shares on both machines.

What I'm trying to do is mounting the Samba share on the Ubuntu server to the RPi and then connect to the RPi's Samba share. In order to have write access to Ubuntu Servers Samba, I'm trying to change the ownership of the cifs mounted share on the RPi server.

Ubuntu Server             |      Raspberry Pi      |      |                   |           |            |    Samba---------------> |Mount via cifs--->Samba |-------VPN----> My Laptop                          |(on a Folder inside     |                          |Raspberry's Samba share)|

The command I'm mounting with:

sudo mount -t cifs -o credentials=xyz //ip_address/folder_name /path/to/mount

Running sudo chown username:username * -v returns changed ownership of "files" from root:root to username:username but when I check, it's still root:root.

Is there a setting that I'm missing, or should I forward some ports (different from 139 and 445) and not deal with this setup?


Viewing all articles
Browse latest Browse all 827

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>