LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   files&folders permissions under SAMBA share (http://www.linuxquestions.org/questions/linux-software-2/files-and-folders-permissions-under-samba-share-113479/)

shani 11-07-2003 01:00 PM

files&folders permissions under SAMBA share
 
Heare is the case.
I have a shared SAMBA directory name USERS .

Inside the share i have couples of subirectorys name MIKI and JOEL.

I am a user name Yossi.
When Yossi copy a new file to MIKI's folder the file gets these fetures.
The owner is Yossi the group is Yossi and the permmisions are rwx-r-x-.
What i would like is that the file will inherit the MIKI's folder permissions,
Which are : owner=MIKI group=YOSSI and the file permmissions are 770
rwx-rwx-

mking 11-20-2003 10:02 AM

Group permissions
 
We have the same issue here.

I have a Samba server with a Public folder. Inside the Public folder, there are subfolders belonging to various groups. I need a way to make sure that any files or folders created or edited within these subfolders ALWAYS take on the permissions of the parent folder - Is that possible? How?

aqoliveira 11-20-2003 11:48 AM

Howzit

Under linux set the SGID on the folder. The folder perms will look like this e.g rwxrwsr_x folder. Make sure that the users u want r placed in the correct group. Use the cmd chmod g+s folder or chmod 2??? folder.

chow


All times are GMT -5. The time now is 02:27 AM.