LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-07-2006, 08:58 AM   #1
awptech
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Rep: Reputation: 0
Ownership changes


I have Samba running on Red Hat 4 and I'm running a basic shared directory.

No one authenticates to the server, but users do have a samba id and password. There is a file(spreadsheet) that everyone opens and edits.

The problem I'm having is the ownership keeps changing to whoever saved it last. Then the permissions on the file change along with it.

How can I lock the ownership of that file so that the permissions stay set at 777?
 
Old 04-07-2006, 10:01 AM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
Take a look at samba share aoptions. man smb.conf.
Code:
[yourshare]
        comment = a comment
        path = /path/to/your/shared/folder
        valid users = anotheruser
        write list = @anetgroup, anotheruser
        force user = anuser
        force group = agroup
        create mask = 0660
        directory mask = 0770
 
Old 04-07-2006, 10:12 AM   #3
awptech
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Original Poster
Rep: Reputation: 0
Newbie

Ok where is all that going? Termial? I'm new the the Linux world.

The folder's permissions are all correct and don't change, it is just for this file that everone opens and everyone saves copies of.
 
  


Reply



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
Ownership Shifty02 Mandriva 2 05-21-2005 03:38 PM
ownership of directories cwolf78 Linux - Software 3 05-08-2005 11:37 PM
ownership true_atlantis Linux - Newbie 1 10-28-2003 10:19 AM
vfat ownership weiss Linux - Newbie 8 09-25-2003 02:30 AM
Ownership Problem chem1 Linux - Software 2 07-05-2003 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:30 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
Open Source Consulting | Domain Registration