Use these instructions to mount a CIFS share in a way that prevents that FileCloud from encountering any permission issues.
|Remote CIFS share path
|Local mount path
|Apache user uid
|33. Note: check your server for the right uid
|Apache user gid
|33. Note: check your server for the right gid
Ensure the command mount.cifs is present in your distro. Here is the list of packages that provide this utility in different distros.
Use the following command to mount the CIFS share
To perform auto mounting of windows share, you need to create a password file and use that in /etc/fstab. Follow the steps here:
Create a file /root/.smbcredentials with the following content.
Here winuser and winpass are the username and password for the remote CIFS share.
Change the permissions such that only root can read the file.
Now add the following line in /etc/fstab file.
Test if the line added in the fstab file works.
Now the remote share should be mounted at /mnt/storage.