NightNetworks
Explorer
- Joined
- Sep 6, 2015
- Messages
- 61
So as the title suggests I am having some issues mounting one of my CIFS shares on Ubuntu.
I have a CIFS share called "OwnCloud" that has been configured as follows...
The Problem...
I am using Ubuntu 16.04.1 and I am adding the following line of code to the /etc/fstab file which should result in permanently mounting the above OwnCloud CIFS share. (yes before someone says anything I know that its a bad idea to store the password like this)
//freenas/OwnCloud /media/windowsshare cifs username=owncloud,password=password,iocharset=utf8,sec=ntlm 0 0
Issue is that when I attempt to access the mounted location I receive an error indicating that access is denied... What is odd is if I set the "Everyone" group to have full control at the file level then everything works... However I do need to restrict access to this directory so that is really not an option for me.
Any ideas as to why this is not working?
Thanks!
I have a CIFS share called "OwnCloud" that has been configured as follows...
- FreeNAS Configuration
- Owner >> sv-backup01
- Owner Group >> Backupusers
- Permission Type >> Windows
- Share Permissions (configured from windows PC)
- Owncloud (freenas user) >> Full Control
- BackupUsers (freenas group) >> Full Control
- File Permissions (configured from windows PC)
- Owncloud (freenas user) >> Full Control
- BackupUsers (freenas group) >> Full Control
The Problem...
I am using Ubuntu 16.04.1 and I am adding the following line of code to the /etc/fstab file which should result in permanently mounting the above OwnCloud CIFS share. (yes before someone says anything I know that its a bad idea to store the password like this)
//freenas/OwnCloud /media/windowsshare cifs username=owncloud,password=password,iocharset=utf8,sec=ntlm 0 0
Issue is that when I attempt to access the mounted location I receive an error indicating that access is denied... What is odd is if I set the "Everyone" group to have full control at the file level then everything works... However I do need to restrict access to this directory so that is really not an option for me.
Any ideas as to why this is not working?
Thanks!