I am migrating my home server from windows based to ubuntu based server.
I am happy and satisfied with my Windows XP based file server and have been using it for about 6 years now.
I am decommissioning the Windows XP
server and wish to use my new linux server based on Ubuntu 12.04 LTS Desktop edition. I plan of using the server edition when I'll be satisfied with the desktop edition.
But right now, I am having some problem with FILE PERMISSION in my new Ubuntu server.
In my Windows XP, I've shared a 4TB RAID0 array and the whole of it is shared within my workgroup. I have several users with different user permissions and I wanted this to be applied also in my Ubuntu server. But I am having some problem implementing it. Probably because of my lack of knowledge administering it.
Right now, In my Ubuntu server, I created a 4TB RAID Array and the whole of it is shared.
The contents of the RAID array is chowned recursively to
The contents of the RAID array is chmoded recursively to 750.
In the server I have created the
user-twoaccount that belongs to
In the shared RAID array, I have a folder called
Everything is setup well and runs fine with the client machine.
The problem now is, I have no idea on how shall I restrict
user-one from accessing the
restricted folder, since
user-one belongs to
users group that has read and execute permission for the whole contents of the RAID array and from where the
restricted folder is located too. I can easily do this in windows, but not in Ubuntu.
To summarize the user's permissions:
admin-one - has read write execute permission to the whole shared partition.
user-one - has read and execute permission to the whole shared partition.
user-two - has read and execute permission to the whole shared partition.
And what I want to accomplish is:
user-one - has read and execute permission to the whole shared partition but shall have no access to the
user-two - has read and execute permission to the whole shared partition that includes the
restricted folder, BUT shall have not write permission to the folder.
So, the general question is, how shall I set different permissions to different users?