Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st July 2006, 10:12
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Angry samba share/permission problem

i've got this public share but have problems with permissions. i'm using debian 3.1 (sarge) and the stock version of samba (v3.0.14a). i've following these steps to no avail:

http://us3.samba.org/samba/docs/man/...html#id2585475

Doing Steps 3 to 5 under "Users Cannot Write to a Public Share" doesn't work for me... and i have no idea what i've done wrong. It says in Step 5 "You should see that the file Afile created by Jill will have ownership and permissions of Jack, as follows:

-rw-r--r-- 1 jack engr 0 2003-02-04 09:57 Afile"

But I've still got Jill as the owner???

What could I have done wrong?

Also, I have avoided using force user/group because of what was stated here:

http://lists.samba.org/archive/samba...ch/101490.html

any ideas/suggestions would be much appreciated!!!
Reply With Quote
Sponsored Links
  #2  
Old 22nd July 2006, 15:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Does jack exist in /etc/passwd?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th July 2006, 11:18
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Does jack exist in /etc/passwd?
yes. i have created the users jill and jack, as well as the group engr. i have also verified this exists in /etc/passwd and /etc/group.
Reply With Quote
  #4  
Old 25th July 2006, 11:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,501
Thanks: 813
Thanked 5,264 Times in 4,128 Posts
Default

Have you added the user to the samba password database too with:

smbpasswd -a jack
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 31st July 2006, 04:46
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
Have you added the user to the samba password database too with:

smbpasswd -a jack
yes, jack and jill are already in the samba password database. but i was thinking that the setgid (set group ID) and setuid (set user ID) features were part of linux - not specifically samba. please correct me if im wrong...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
File Sharing Problem With Samba & (MS)ADS papaqube Server Operation 8 10th November 2008 11:25
Postfix+MySQL Problem jasutton Installation/Configuration 1 15th June 2006 16:06
Date stamp problem with samba file sharing cioscott HOWTO-Related Questions 0 11th January 2006 19:29


All times are GMT +2. The time now is 13:48.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.