Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir /mnt/docs
- chown www-data:www-data /mnt/docs
- ls -l /mnt
- drwxr-xr-x 2 www-data www-data 4096 Jan 6 01:14 docs
- drwxr-xr-x 2 root root 4096 Dec 8 21:46 cdrom
- mount -t cifs //192.168.1.10/Public/Documents/Docs -o username=****,password="****" /mnt/docs
- ls -l /mnt
- drwxr-xr-x 2 root root 0 Jan 12 02:51 docs
- drwxr-xr-x 2 root root 4096 Dec 8 21:46 cdrom
- chown -h www-data:www-data /mnt/docs
- ls -l /mnt
- drwxr-xr-x 2 root root 0 Jan 12 02:51 docs
- drwxr-xr-x 2 root root 4096 Dec 8 21:46 cdrom
- mount -t cifs
- -o username=****,password="****",uid=www-data
- //192.168.1.10/Public/Documents/Docs
- /mnt/docs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement