All of the tutorials I have seen so far have been on configuring FreeNAS for Windows client access, however, I am using it to backup/share files simultaneously in Windows and Ubuntu systems and need to know how to give my Ubuntu user rights to directories created in Windows. When mounting FreeNAS in Ubuntu the remote directories are owned by user root, and will not allow additional directories to be created and populated with files*. Is there something in FreeNAS that I need to configure differently (disk/user permissions) or is the issue with the way I am connecting to the server?
FreeNAS
Version: 9.2.1.5
Service: Windows CIFS
ACL is Unix, all the boxes in mode are checked for the volume & dataset.
User root & group wheel
Windows
Created folders and uploaded files to FreeNAS using a network path instead of mapping it as a drive. Also, am able to access files created by Ubuntu with no issues.
Ubuntu
Using the following command to mount FreeNAS:
No matter what username I supply I still have the same issue. Have tried mounting as Guest, Nobody, and user accounts I created.
I believe that from Ubuntu the ownership of each directory could be changed to the logged in user, but that doesn’t seem like the right solution as there will be multiple users.
Connecting to FreeNAS through the network avoids the access/permissions issues; however the file transfer speed is significantly reduced, so that doesn’t seem like the right solution either.
My goal is to configure FreeNAS so that multiple users on different operating systems (Windows and Ubuntu) have full access to the same VOLUMNE?
*In an attempt to state the problem and question as direct and succinctly as possible I omitted a few details:
• Directories can be created and are owned by user nobody, but have the lock icon and will not allow any files inside them.
• Files can be copied to already existing directories but they also get the lock icon.
• When copying directories containing files and subdirectories only the top level directory is copied and gets the lock icon
• Logged in user does have the necessary access to delete files and directories.
• Creating/moving directories and files with the sudo command produces the same result.
FreeNAS
Version: 9.2.1.5
Service: Windows CIFS
ACL is Unix, all the boxes in mode are checked for the volume & dataset.
User root & group wheel
Windows
Created folders and uploaded files to FreeNAS using a network path instead of mapping it as a drive. Also, am able to access files created by Ubuntu with no issues.
Ubuntu
Using the following command to mount FreeNAS:
Code:
sudo mount -t cifs -o username=root //192.168.0.171/SharedFreeNASDirectory /mnt/LocalDirectory/
No matter what username I supply I still have the same issue. Have tried mounting as Guest, Nobody, and user accounts I created.
I believe that from Ubuntu the ownership of each directory could be changed to the logged in user, but that doesn’t seem like the right solution as there will be multiple users.
Connecting to FreeNAS through the network avoids the access/permissions issues; however the file transfer speed is significantly reduced, so that doesn’t seem like the right solution either.
My goal is to configure FreeNAS so that multiple users on different operating systems (Windows and Ubuntu) have full access to the same VOLUMNE?
*In an attempt to state the problem and question as direct and succinctly as possible I omitted a few details:
• Directories can be created and are owned by user nobody, but have the lock icon and will not allow any files inside them.
• Files can be copied to already existing directories but they also get the lock icon.
• When copying directories containing files and subdirectories only the top level directory is copied and gets the lock icon
• Logged in user does have the necessary access to delete files and directories.
• Creating/moving directories and files with the sudo command produces the same result.