Views: 10956
Last Modified: 14.08.2014

The following command may be used if Windows network drive must be connected as storage for WebDAV:

mount -t cifs -o -fstype=cifs,iocharset=utf8,username=XXXX,password=XXXX,uid=500,gid=501,fmode=0777,noserverino //xxx.xxx.xxx.xxx/folder /home/bitrix/www/docs/folder/smb
where:
  • uid - bitrix user identifier;
  • gid - bitrix group identifier;
  • //xxx.xxx.xxx.xxx/folder - a path to a network resource;
  • /home/bitrix/www/docs/folder/smb - a folder where the disk will be mounted.

Note: the use of the noserverino option is mandatory because PHP has a vulnerability.




Courses developed by Bitrix24