LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 11-15-2005, 11:24 AM   #1
deadtech
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Rep: Reputation: 0
Angry Users saving but not taking ownership


I installed SUSE 10 for a client that required basic file sharing over their p2p network. Everything runs smoothly except one application they run will not let other users in if another user has saved a file. I found that when the ownership of these files is set to 'root' there are no problems, but as soon as a user in the group saves again they take ownership and hence the problem occurs again. They all need access and the ability to save these files. It is a multi-user app that worked fine accessing shares on a XP box. My question is this, how can I setup the group so that they can save files without taking ownership and if that's not an option how can I change the files so that they can save without ownership. I have setup *NIX stations in the past, but have never needed or had the time to become real familiar with the OSs' so I would consider myself a newbie. That said, please keep answers relatively simple . Thx.
 
Old 11-16-2005, 12:21 PM   #2
deadtech
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Since there haven't been any responses, I should probably clarify a little more. The users all run Windows XP SP2. They run a program called Simply Accounting that accesses a share over the network that is on the SUSE 10 machine running Samba. They all have identical drive mappings to the share. Everything runs fine until someone saves changes made to a file thereby taking ownership of the file on the Samba share. This excludes anyone from viewing, logging into Simply or making any changes to the files until I manually change the owner back to root and apply permissions for the group. Are there any permissions I need to change on the Windows side of things?
 
Old 11-21-2005, 06:53 PM   #3
Hans Zilles
LQ Newbie
 
Registered: Oct 2005
Location: Stockton, CA
Distribution: SuSE 9.x
Posts: 16

Rep: Reputation: 0
We had a similar problem.
Our soultion was to use the "force user" paramter to force samba to keep all files in the share owned by the same single user, regardless of who accesses the share.

You may also need the "force create mode" but we have not yet used that paramter.

More details can be found on the smb.conf man page... http://us4.samba.org/samba/docs/man/...mb.conf.5.html

I hope this helps.
 
Old 11-21-2005, 10:10 PM   #4
deadtech
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you for the response. I will try it and let you know!
 
Old 12-06-2005, 10:49 AM   #5
deadtech
LQ Newbie
 
Registered: Nov 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

I tried forcing users and forcing groups to no avail. It worked in keeping the users as 'nobody' and the group as 'users' but the permissions would change and the problem remained the same. After a bit more research I found a similar problem that was solved by disabling oplocks globally in the samba file. It's been a week now and they've had no problems. They've upgraded to Quickbooks as well and the installation went without a hitch in part because of the oplocks being disabled.
 
  


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
saving alsa settings for all users sonofpan Slackware 4 03-11-2009 02:57 PM
how to control users from taking more printouts??? imezsons Linux - Networking 1 09-14-2005 04:34 AM
root keeps taking ownership of ~/.Xauthority devfreak Fedora 3 04-07-2005 10:24 AM
Saving users, groups and permissions in Red Hat 9 ferrantepunto Linux - Software 2 12-03-2003 01:26 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 07:50 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

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

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