Hi guys,
I have this setup :
FreeNAS 9.2.1.8
One volume, several dataset.
For sharing, I use CIFS and NFS.
I have a separate machine that allows SFTP connections, and so the SFTP users can access the FreeNAS NFS shares... I did this way so FreeNAS stays "unexposed" to the Internet (or you know, at least not directly)
Every dataset was created for a CIFS share.
All dataset have USER = root and GROUP = a groupe that has the same name as the share / dataset
All permissions are UNIX permissions set to 770
Now my problem is :
Sometimes, when someone uploads a file or creates a directory, it is absolutely impossible to delete it...
When I SSH into FreeNAS and check out the permissions, they are (for example)
user = nobody, groupe = the good one, permission = 770
So nothing wrong there ?!?
The only thing I noticed is that at the end of the file name there is a *
(correct me if I'm wrong but this simply means the file is executable?)
I don't know if it's related
So just to make sure :
user X uploads a file to a share called A
the share A is sharing the dataset A and belongs to group A
user X uploads it through FTP and because it passes through NFS, the file has user = nobody (which I don't see why it'd be an issue)
However, the file has group A (which is good) and permissions 770 (which is also good)
I open the CIFS share A and see the file.
I can't delete it!
Why???
Thanks!
I have this setup :
FreeNAS 9.2.1.8
One volume, several dataset.
For sharing, I use CIFS and NFS.
I have a separate machine that allows SFTP connections, and so the SFTP users can access the FreeNAS NFS shares... I did this way so FreeNAS stays "unexposed" to the Internet (or you know, at least not directly)
Every dataset was created for a CIFS share.
All dataset have USER = root and GROUP = a groupe that has the same name as the share / dataset
All permissions are UNIX permissions set to 770
Now my problem is :
Sometimes, when someone uploads a file or creates a directory, it is absolutely impossible to delete it...
When I SSH into FreeNAS and check out the permissions, they are (for example)
user = nobody, groupe = the good one, permission = 770
So nothing wrong there ?!?
The only thing I noticed is that at the end of the file name there is a *
(correct me if I'm wrong but this simply means the file is executable?)
I don't know if it's related
So just to make sure :
user X uploads a file to a share called A
the share A is sharing the dataset A and belongs to group A
user X uploads it through FTP and because it passes through NFS, the file has user = nobody (which I don't see why it'd be an issue)
However, the file has group A (which is good) and permissions 770 (which is also good)
I open the CIFS share A and see the file.
I can't delete it!
Why???
Thanks!