You are not logged in.

#1 2016-08-04 09:23:22

jimjamz
Member
From: Nagasaki, Japan
Registered: 2016-04-04
Posts: 189

Read-Only permissions on samba share when mouting locally

I have an external drive (EXT4) connected directly via USB to a Raspberry Pi (HOME-PI).  The drive (STORE) is remotely shared via SAMBA. I can connect to this in both Windows and Mac OS X easily and have full write access.

In BunsenLabs, I can connect to the remote share via the File Manager, by selecting the 'Browse Network' link, under 'NETWORK' in the File Manager's left nav bar.
From here I can access the remote share via navigating to 'HOME-PI' then the 'store' directory.  From here, I have full write access. I have the ability to create, edit and delete files.

However, I run some apps (e.g. Irfanview) in WINE.  I can't navigate to the share in WINE apps using the method above.

This means that I have to mount the remote share, 'store' to a local directory:

sudo mount.cifs -o username=myUser,password=myPass //florence-pi/store ~/mnt/store

However, when I do this, everything on the remote share from the local directory, ~/mnt/store, is read-only.

For example, if I mounted the remote share, opened Geany and created a file, I am able to save the file to the remote share if I access it through the 'Browse Network' method, but if I try to save it to the share when navigating to ~/mnt/store, I am denied permission.

How can I mount and access the remote share locally and still have full write permissions when using the share with WINE applications?
Is it related to where I'm actually locally mounting the drive under /home ?
Or do I perhaps need to provide more parameters in my mount command to explicitly state I want more permissions than just read-only?

Kind regards,

Offline

Board footer

Powered by FluxBB