nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Samba can not create/modify/delete in share

This is a discussion on Samba can not create/modify/delete in share within the File Servers forums, part of the Mastering Servers category; I am running Ubuntu 8.1 as a file server with Samba. I have a share set with owner "usera", group ...


Go Back   nixCraft Linux Forum > Mastering Servers > File Servers

Linux answers from nixCraft.


File Servers Discussion about Samba, NFS and other UNIX / Linux file servers.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2008, 02:36 AM
Junior Member
User
 
Join Date: Dec 2008
OS: Ubuntu 8.10
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
troyljones is on a distinguished road
Default Samba can not create/modify/delete in share

I am running Ubuntu 8.1 as a file server with Samba. I have a share set with owner "usera", group "grpa". I have a user, "userb", in "grpa" that can see all files & folders but can not create/modify/delete?

"userb" can create/modify/delete in the share when logged in locally or even via telnet, but not via samba from a WinXP box.

any suggestions?

Here is the smb.conf:
[myshare]
path = /usr/local/myshare
valid users = userb userc
write list = @grpa
force group = grpa
force user = usera
create mask = 0775
Reply With Quote
  #2 (permalink)  
Old 05-12-2008, 06:56 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Limits set by kernel-level access control such as file permissions, file system mount options, ACLs, and SELinux policies cannot be overridden by Samba. Both the kernel and Samba must permit the user to perform an action on a file before that action can occur.

In other words, users and groups must have Linux file system permission to write and modify. Add users to group and provide them permission from Linux.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Modify Text in a file maxcell Shell scripting 3 25-10-2008 08:33 PM
add - delete - alter - modify user through php ayush1440 Web servers 5 25-09-2008 09:19 AM
How to share file on FreeBSD enochalbert All about FreeBSD/OpenBSD/NetBSD 1 06-08-2008 05:57 PM
is there is any way i can share my internet to others without any software? ashu.wifi CentOS / RHEL / Fedora 1 26-06-2008 07:53 PM
HP UX add, remove, modify, delete group managment howto rockdalinux HP-UX 0 20-12-2006 02:46 PM


All times are GMT +5.5. The time now is 11:39 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38