File Locking problem (I think)

DavidAtkinson at DavidAtkinson at
Wed Sep 26 02:24:01 GMT 2001

Because I want other people to be able to get in and modify the file names
and file contents without having to give them accounts to login with.

-----Original Message-----
From: Kauffmann, Andreas [mailto:andreas.kauffmann at]
Sent: Wednesday, 26 September 2001 7:16 PM
To: DavidAtkinson at
Subject: AW: File Locking problem (I think)

why u make it so difficult?

why don´t make this share with apache as a webshare? :-)

-----Ursprüngliche Nachricht-----
Von: DavidAtkinson at [mailto:DavidAtkinson at]
Gesendet: Mittwoch, 26. September 2001 10:08
An: samba-ntdom at
Betreff: File Locking problem (I think)

This is a problem I have been struglling with for some months, so I
I'd throw it out there to see if anyone can help.

I have a RedHat 7.1 box (but I have had this under earlier versions)
samba 2.0.7 (or thereabouts) which has a share called music. Under
folders I have various MP3 repositories and video clips, etc... which
world readable (ie public = yes). I have configured an access list
users=@music"; "write list=@music") and confirmed that the share is
by connecting a creating and deleteing folders and creating and
text files (through the windows explorer interface). The text files
are able to be modified an indefinite number of times in Notepad and
deleted at the end. The problem I have is that when I copy videos off
(which is currently my only source of music videos, because I wouldn't
to be doing anything illegal ;-) ) they copy onto the share without
problems, but then they cannot be renamed or deleted. 

The problem possibly stems from the owner being set to root:music (my
id, "david", is in the "music" group). I have found that this problem
doesn't occur (for the "david" user) when the permissions are
but I would prefer to be able to have users other than myself be able to
modify song names. I have been able to telnet into my file server and
the file names (both as "root" and as "david") which indicates the file
sytem permissions (I have tried both 775 and 664) are correct.

As all the permisions appear to be correct on the UNIX side my thinking
that this is possibly a file locking thing. I'm not to sure how Samba
file locks, but it is wierd that Samba would lock a file as soon as it
loaded onto a share.

If anyone has any suggestions or would like me to clarify/elaborate on
of the areas, please feel free to either broadcast the
question/request/suggestion or contact me directly. Thanks in advance
well done for making it thorugh my problem description!)

David Atkinson

More information about the samba-ntdom mailing list