Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-01-2005, 10:42 PM   #1
LQ Newbie
Registered: Feb 2005
Location: Texas
Distribution: Red Hat
Posts: 7

Rep: Reputation: 0
Question Could someone double check my plan?

I just got my samba server up and running on Red Hat ES.
My plan is to have a share named “company” where all users on the network can save, open, and delete files from Windows.

Here is my plan (I keep using the word plan cuz I just want to say "I love it when a plan comes together" when I get this thing going).

I want to create the company directory, then run the following command:

chmod -R 777 /home/company

In smb.conf I want to add the following:
comment = company share
path = /home/company
force create mode = 0664
force directory mode = 0775
or should I use:
inherit permissions = Yes

Any advice would be appreciated.
Thank you.
Old 03-02-2005, 05:22 AM   #2
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Just for the sake of some security, I'd suggest 0660 and 0770 or 0664 and 0774 and then add everyone to a group that owns the folder. Better yet, you can add setgid on the folder and Linux will do most of that for you along with making sure all new files get the group's ownership:

chmod g+srwx /home/company
Old 03-02-2005, 08:20 AM   #3
LQ Newbie
Registered: Feb 2005
Location: Texas
Distribution: Red Hat
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the tip and the reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Double the desktop, not double the fun! bizshop SUSE / openSUSE 3 08-26-2005 12:22 PM
Wanted to double check before XP install dualboot degraffenried13 Linux - General 2 06-05-2005 11:55 AM
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
partition plan Serena Linux - General 0 04-21-2002 12:24 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration