change permission of mounted folder in linux
Solution 1:
You need to define the wanted user id and group id in the mount command. Add uid and gid-parameters to the options. You can look up your user's values with the id
command.
Example set of parameters: uid=1000,gid=1000,username=sprite
Provided your user and group id were 1000.
For the another user to access, put the users in the same group, such as users, then use that group's id in the mount command's gid-parameter. In this case I believe you also need additional parameter for the group to be able to write on the share, in which case you need the additional parameters dir_mode=0770,file_mode=0770