3 added 2 characters in body
source | link

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Inside the proyect folder i will create a folder (maybe as root user) for every user that belongs to the group and they will not be able to delete that folder or change its name. The users that belong to the group proyect will only be able to create or modify files inside their personal folder and they will cannot create or modify directories or files directly in the proyect folder, but they will only be able to access to read all the folders inside proyect folder. The folders structure will look like this:

   proyect 
       ---alex
       ---carlos
       ---tom

proyect ---alex ---carlos ---tom EveryEvery user will have a folder with his name inside proyect folder. None of them will can create folders or files inside the project folder, they can only do it inside their own folder. User carlos will be able to read the content of alex and tom folders, but will not be able to write (create files or directories) inside. User carlos only will create files or folders inside carlos folder. Actually i have this directory structure on windows server, but i need to migrate it to CentOS.

Thanks in advance

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Inside the proyect folder i will create a folder (maybe as root user) for every user that belongs to the group and they will not be able to delete that folder or change its name. The users that belong to the group proyect will only be able to create or modify files inside their personal folder and they will cannot create or modify directories or files directly in the proyect folder, but they will only be able to access to read all the folders inside proyect folder. The folders structure will look like this:

proyect ---alex ---carlos ---tom Every user will have a folder with his name inside proyect folder. None of them will can create folders or files inside the project folder, they can only do it inside their own folder. User carlos will be able to read the content of alex and tom folders, but will not be able to write (create files or directories) inside. User carlos only will create files or folders inside carlos folder. Actually i have this directory structure on windows server, but i need to migrate it to CentOS.

Thanks in advance

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Inside the proyect folder i will create a folder (maybe as root user) for every user that belongs to the group and they will not be able to delete that folder or change its name. The users that belong to the group proyect will only be able to create or modify files inside their personal folder and they will cannot create or modify directories or files directly in the proyect folder, but they will only be able to access to read all the folders inside proyect folder. The folders structure will look like this:

   proyect 
       ---alex
       ---carlos
       ---tom

Every user will have a folder with his name inside proyect folder. None of them will can create folders or files inside the project folder, they can only do it inside their own folder. User carlos will be able to read the content of alex and tom folders, but will not be able to write (create files or directories) inside. User carlos only will create files or folders inside carlos folder. Actually i have this directory structure on windows server, but i need to migrate it to CentOS.

Thanks in advance

2 More detailed explanation about what i need to get
source | link

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Inside the proyect folder i will create a folder (maybe as root user) for every user that belongs to the group and they will not be able to delete that folder or change its name. The users that belong to the group proyect will only be able to create or modify files inside their personal folder and they will cannot create or modify directories or files directly in the proyect folder, but they will only be able to access to read all the folders inside proyect folder. The folders structure will look like this:

proyect ---alex ---carlos ---tom Every user will have a folder with his name inside proyect folder. None of them will can create folders or files inside the project folder, they can only do it inside their own folder. User carlos will be able to read the content of alex and tom folders, but will not be able to write (create files or directories) inside. User carlos only will create files or folders inside carlos folder. Actually i have this directory structure on windows server, but i need to migrate it to CentOS.

Thanks in advance

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Thanks in advance

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Inside the proyect folder i will create a folder (maybe as root user) for every user that belongs to the group and they will not be able to delete that folder or change its name. The users that belong to the group proyect will only be able to create or modify files inside their personal folder and they will cannot create or modify directories or files directly in the proyect folder, but they will only be able to access to read all the folders inside proyect folder. The folders structure will look like this:

proyect ---alex ---carlos ---tom Every user will have a folder with his name inside proyect folder. None of them will can create folders or files inside the project folder, they can only do it inside their own folder. User carlos will be able to read the content of alex and tom folders, but will not be able to write (create files or directories) inside. User carlos only will create files or folders inside carlos folder. Actually i have this directory structure on windows server, but i need to migrate it to CentOS.

Thanks in advance

1
source | link

Samba Shared Folder with Windows Clients

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients (Disk Drive). This is how it is configured in smb.conf:

[proyect]
    path = /var/samba/proyect
    valid users = @proyect
    browseable = yes
    writeable = yes
    guest ok = no
    read only = no

This works great at this point, but my problem happens when I need to create a personal folder for every user of the group "proyect" inside "proyect" folder. I want that every user that belongs to "proyect" group can only read the contents of the personal folders of the other users, and that only the owner of the folder can write and at the same time can create more folders inside and files that inherit the same permissions. I created a folder called "carlos" that belongs to the user carlos (i will do for every user and they will cannot delete it or change its name), and i used chown command for set him as the owner of this but still it cannot write inside the folder or create files.

Thanks in advance