Answer the question
In order to leave comments, you need to log in
Setting up file and folder access control on Ubuntu Server 13.10 with Samba package via SSH
Given: Office. Ubuntu Server 13.10. Samba package. Full SSH access.
Required: Configure so that "Employee_1" (Windows 7) has full access to the personal folder "Employee_1 Folder" on the server under a Samba account (login, password). Other employees (Employee_2 (Windows 7), Employee_3 (Windows 8), etc.) could upload files to "Employee_1 Folder", without the ability to edit and download the contents of the "Employee_1 Folder", the visibility of the contents of the folder is not critical. For all employees there are accounts on the server and Samba, such as "Employee_1" (login, password), etc.
___
Perhaps confusingly explained. The point was that all employees could create files in the folder "Folder_Employee_1". Only "Employee_1", the owner of the folder, could read all the files. The rest of the employees either could read the files created only by them, or could not read anything, or only read the list of files in "Folder_Employee_1". Is this even possible?
Answer the question
In order to leave comments, you need to log in
To allow users to write to a directory, but read only their own files - this is possible at the level of the Linux file system.
This is how the /tmp directory is arranged.
You need to google in the direction of sticky bit and setgid.
And in samba: create mask and maybe force create mode
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question