I have a raspberry with samba and it shares a drive inside the network and allow to everyone to write, read etc
I have another raspberry which mount the samba shared drive and I would execute, from this second raspberry, a chown on a folder but I don't have the permission.
I am going to set owncloud on the second raspberry which has to allow a user to own a folder.
On both Raspberry there is the default pi user, sambaRaspi has the following configuration
My smb config:
[MyAwesomeShare] comment = MyAwesomeShare path = /mnt/HDD writeable = yes
cloudRaspi (raspberry with owncloud) mounts the samba share
//IP/MyAwesomeShare /mnt/SAMBA_SHARED_HDD cifs username=pi,password=MyPassword,uid=1000,gid=1000 0 0
cloudRaspi need to run chown on the samba share