LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2012, 05:49 AM   #1
atomiccomp
LQ Newbie
 
Registered: Dec 2008
Location: UK
Distribution: Debian/Ubuntu
Posts: 28

Rep: Reputation: 0
File permissions, ownership ect,ect


Hi guys,

I have a linux file server, however I changed all the permissions in the shared samba file to chmod 777 for backup purposes. Now when a user creates a file no one else in the group can read or access any new files created. when I do a ls- l on the said files the user and group are both set to the same name ( for example user david is both the user and group ( the group is touchline)) Is there some way to change the default behaviour so that user davids file have touchline group staus so any one in the group can read the files without me having to manualy change file pemissions?
Thanks in advance!
 
Old 03-12-2012, 08:19 AM   #2
sys64738
Member
 
Registered: May 2008
Location: NRW/Germany
Posts: 105

Rep: Reputation: 30
Hi atomiccomp,

use force group in your /etc/smb.conf.
See here http://www.samba.org/samba/docs/man/...tml#FORCEGROUP
or google for "smb.conf force group"
 
Old 03-16-2012, 06:28 AM   #3
atomiccomp
LQ Newbie
 
Registered: Dec 2008
Location: UK
Distribution: Debian/Ubuntu
Posts: 28

Original Poster
Rep: Reputation: 0
Hi,

Thanks for the reply. I relised that this issue only occured after I changed the folder permissions using
chmod 775. I have since used chown to set owner ship back to the group and its all working great now!

Thanks for the help!
 
  


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
[SOLVED] Need a file extractor (rar, 7z, ect) for part files compress by winrar mothergoose729 Linux - Software 13 04-14-2010 03:57 AM
cannot navigate to /ect directory, anyone? MadAtUbuntu Linux - Newbie 5 12-29-2009 03:58 PM
what is x86, i386, ect Dirty_Ink Linux - Newbie 6 05-20-2004 08:20 PM
Accessing the /ect Daredevil Linux - Newbie 1 03-05-2004 10:34 AM
Is something wrong with my /ect? eam Linux - Newbie 3 01-20-2004 05:39 PM


All times are GMT -5. The time now is 04:02 PM.

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