Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba and Permissions

Status
Not open for further replies.
May 1, 2001
447
US
Hi, I looked all over the place but couldn't narrow down what I am looking for, so here goes...

I have Samba set up on a Mandrake Linux box, and Win 2k on my other box to share files. Basically I want a file share that I can use as additional storage space.

I've got it set up to add or delete folders, but the only thing I CAN'T do for some reason is RENAME a file or folder that is just copied in.

If I create a text file on my homes share and then modify it everything works. Is there something I'm missing in my SMB.conf file that will let me do this with existing files?

Here's the output of my smb.conf file. Thanks for any help you can provide:
++++++++++++++++++++++++++++++++++++++++++++


#getting some of this from the o'reilly book.

[global]
netbios name = netserv
server string = Samba %v on (%L)
workgroup = SKIPPY

#International Coding Options
client code page = 437
character set = ISO8859-1

#Some file options
hide dot files = yes
map archive = yes
map system = yes
map hidden = yes

#File naming options
preserve case = yes
short preserve case = yes
default case = lower
case sensitive = no

#logging options
log level = 5
log file = /var/log/samba/log.%m
max log size = 50

# Some security settings
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

#Browser control and networking options
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Networking configuration options
hosts allow = 10.10.10. localhost
interfaces = 10.10.10.1/255.255.255.0
bind interfaces only = yes
dns proxy = no

# Browsing election options
os level = 33
domain master = yes
local master = yes
preferred master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast

#+++SHARES+++

[homes]
comment = home directories
browseable = yes
writeable = yes

#end of file J.R. Juiliano
Information Systems Specialist
Tri-City Emergency Medical Group
 
This is obvious, but I will ask anyway..

Have you tried this configuration without the file name
mangling, case preservation and stateful FS monitoring
options enabled? Have you checked your samba logs for
errors that occur when trying to rename files?

If all else fails maybe just reduce your options
till it starts working correctly.
 
I _believe_ I tried that, but I will do so consciously sometime tonight.

I had the log level set on 5 to see if I could get the information I needed to verify. I don't understand why samba would let me go and add or delete files but not rename them for any reason.

I do notice when I check the permissions on the Win 2K box it has two entries for my user name. One has full control and the other has, more or less, read and write permissions. I don't know if that's just bad translation of permissions on Win 2k's part of if that is what the problem is!

Thanks for your help. J.R. Juiliano
Information Systems Specialist
Tri-City Emergency Medical Group
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top