LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba question? (https://www.linuxquestions.org/questions/linux-networking-3/samba-question-296312/)

HeReigns 03-01-2005 11:20 AM

Samba question?
 
Running RH 7.2 kernel 2.4.7-10

Is it possible to configure samba so that when a user copies files to a "share" the default user is root, the default group is users and the default permissions is 755? Currently when a user copies files over only he/she can access the files. Thanks in advance for your input.

Rob

tangle 03-01-2005 12:22 PM

Put this in the share part of youe smb.conf file.

force group = users
force user =root
create mask = 0755

Here is the link that explains it.
http://www.cae.wisc.edu/fsg/linux/li...missions.shtml

HeReigns 03-01-2005 04:09 PM

Tangle,
Perfect, works like a champ! Thank you very much for input!

:D

tangle 03-01-2005 06:55 PM

np


All times are GMT -5. The time now is 05:01 AM.