[Samba] Possible file renaming bug in samba 2.2.3a?

Jason jasone at apluscomputers.com
Sat Mar 23 20:38:02 GMT 2002


Hello.

I have a possible renaming bug in samba 2.2.3a to report. I'll include my
config files and directory map below this text. 

I'm using a Windows 2000 pro sp2 client, samba has share modes enabled (not
domain auth), and I have a share mapped (not using UNC). I can rename files
in any directory on the mapped drive except 1. Anything under the directory
"music" I can't rename. I can rename from a terminal window, but thats it.
Every other directory works, just the one (and any subdirectories) won't
let me rename. I can delete and add files. 

The error I get is "Cannot rename <filename>. There has been a sharing
violation.  The source or destination may be in use."

The other thing that strikes me as odd is Windows's Explorer shows each
directory as expandable (with the + sign), even though it is not, until I
click on it. Then the + sign goes away.

I've went to /home/samba and ran chmod 777 * -R, so all the files are set
the same. I've also tried forcing user root for the share, and setting
chown root:root * -R also, but it doesn't make a difference either.


I'm running Red Hat 7.2
All updates from Red Hat's page as of 3/20/02 have been applied (new gcc,
glib, etc).
Vanilla kernel 2.4.17 compiled (after updates were installed).
I removed Red Hat's samba packages (samba-common, -client, -swat, -server,
and samba) and installed 2.2.3a from your RPM.

Let me know if you need any additional information. 

--------BEGIN smb.conf--------------

# Samba config file created using SWAT
# from UNKNOWN (192.168.1.32)
# Date: 2002/03/23 23:10:42

# Global parameters
[global]
        workgroup = ILLUSION
        server string = Samba Server
        security = SHARE
        encrypt passwords = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        os level = 65
        preferred master = True
        domain master = True
        dns proxy = No
        wins support = Yes
        hosts allow = 192.168.1. 127.
        printing = lprng

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0664
        directory mask = 0775
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes

        browseable = No

[data]
        comment = Stuff
        path = /home/samba
        read only = No
        create mask = 0777
        directory mask = 0777
        guest ok = Yes
        dos filemode = Yes

[web]
        comment = Stuff
        path = /var/www
        force user = root
        force group = root
        read only = No
        create mask = 0755
        guest ok = Yes

---------END smb.conf file------------


the following output is from the command 'tree'
---------BEGIN directory structure of /home/samba/music/CD--------
.
|-- Alice In Chains
|   `-- Music Bank
|       |-- disc 1
|       |   |-- ALICE IN CHAINS - Bleed The Freak (Demo).mp3
|       |   |-- ALICE IN CHAINS - Confusion.mp3
|       |   |-- ALICE IN CHAINS - Get Born Again.mp3
|       |   |-- ALICE IN CHAINS - Got Me Wrong.mp3
|       |   |-- ALICE IN CHAINS - I Can't Have You Blues  (Demo).mp3
|       |   |-- ALICE IN CHAINS - I Can't Remember.mp3
|       |   |-- ALICE IN CHAINS - It Ain't Like That.mp3
|       |   |-- ALICE IN CHAINS - Killing Yourself (Demo).mp3
|       |   |-- ALICE IN CHAINS - Love  Hate  Love.mp3
|       |   |-- ALICE IN CHAINS - Man In The Box.mp3
|       |   |-- ALICE IN CHAINS - Queen Of The Rodeo (Live).mp3
|       |   |-- ALICE IN CHAINS - Right Turn.mp3
|       |   |-- ALICE IN CHAINS - Rooster (Demo).mp3
|       |   |-- ALICE IN CHAINS - Sea Of Sorrow (Demo).mp3
|       |   |-- ALICE IN CHAINS - Social Parasite (Demo).mp3
|       |   |-- ALICE IN CHAINS - We Die Young.mp3
|       |   `-- ALICE IN CHAINS - Whatcha Gonna Do (Demo).mp3
|       |-- disc 2
|       |   |-- ALICE IN CHAINS - Am I Inside.mp3
|       |   |-- ALICE IN CHAINS - Angry Chair.mp3
|       |   |-- ALICE IN CHAINS - Brother.mp3
|       |   |-- ALICE IN CHAINS - Dam That River.mp3
|       |   |-- ALICE IN CHAINS - Dirt.mp3
|       |   |-- ALICE IN CHAINS - Fear The Voices.mp3
|       |   |-- ALICE IN CHAINS - God Smack.mp3
|       |   |-- ALICE IN CHAINS - I Stay Away.mp3
|       |   |-- ALICE IN CHAINS - Iron Gland.mp3
|       |   |-- ALICE IN CHAINS - Junkhead (Demo).mp3
|       |   |-- ALICE IN CHAINS - Lying Season.mp3
|       |   |-- ALICE IN CHAINS - No Excuses.mp3
|       |   |-- ALICE IN CHAINS - Rain When I Die.mp3
|       |   |-- ALICE IN CHAINS - Rooster.mp3
|       |   |-- ALICE IN CHAINS - Sickman.mp3
|       |   |-- ALICE IN CHAINS - Them Bones.mp3
|       |   `-- ALICE IN CHAINS - Would.mp3
|       `-- disc 3
|           |-- ALICE IN CHAINS - A Little Bitter (Remix).mp3
|           |-- ALICE IN CHAINS - Again (Tattoo Of Pain Mix).mp3
|           |-- ALICE IN CHAINS - Died.mp3
|           |-- ALICE IN CHAINS - Down In A Hole.mp3
|           |-- ALICE IN CHAINS - Frogs.mp3
|           |-- ALICE IN CHAINS - God Am.mp3
|           |-- ALICE IN CHAINS - Grind.mp3
|           |-- ALICE IN CHAINS - Hate To Feel.mp3
|           |-- ALICE IN CHAINS - Head Creeps.mp3
|           |-- ALICE IN CHAINS - Heaven Beside You.mp3
|           |-- ALICE IN CHAINS - Nutshell (Unplugged).mp3
|           |-- ALICE IN CHAINS - Over Now (Unplugged).mp3
|           |-- ALICE IN CHAINS - The Killer Is Me (Unplugged).mp3
|           `-- ALICE IN CHAINS - What The Hell Have I (Remix).mp3
|-- Beatles
|   `-- Magical Mystery Tour
|       |-- 01 Magical Mystery Tour.mp3
|       |-- 02 The Fool On The Hill.mp3
|       |-- 03 Flying.mp3
|       |-- 04 Blue Jay Way.mp3
|       |-- 05 Your Mother Should Know.mp3
|       |-- 06 I Am The Walrus.mp3
|       |-- 07 Hello Goodbye.mp3
|       |-- 08 Strawberry Fields Forever.mp3
|       |-- 09 Penny Lane.mp3
|       |-- 10 Baby Youre A Rich Man.mp3
|       `-- 11 All You Need Is Love.mp3
|-- Brand New Bag
|   `-- Fat Metaphysical Thing
|       |-- 01 - Your Heat Like Today.mp3

|       |-- 02 - Palm Sunday.mp3
|       |-- 03 - Mojo Sunbeams.mp3
|       |-- 04 - Gotta Be Everything.mp3
|       |-- 05 - Blackout Mardi Gras.mp3
|       |-- 06 - Arrogant Gesture.mp3
|       |-- 07 - Another Ohio.mp3
|       |-- 08 - Space is the Place - Rocket Number 9.mp3
|       `-- 09 - Already All Broke Down.mp3
|-- Cherry Poppin Daddies
|   `-- Zoot Suit Riot
|       |-- 01 Zoot Suit Riot.mp3
|       |-- 02 Ding-Dong Daddy of the D-Car Line.mp3
|       |-- 03 When I Change Your Mind.mp3
|       |-- 04 Here Comes the Snake.mp3
|       |-- 05 Mister White Keys.mp3
|       |-- 06 Come Back to Me.mp3
|       |-- 07 Brown Derby Jump.mp3
|       |-- 08 Dr Bones.mp3
|       |-- 09 Pink Elephant.mp3
|       |-- 10 Master and Slave.mp3
|       |-- 11 Drunk Daddy.mp3
|       |-- 12 No Mercy For Swine.mp3
|       |-- 13 Cherry Poppin Daddy Strut.mp3
|       `-- 14 Shake Your Lovemaker.mp3
|-- Enigma
|   `-- The Cross Of Changes
|       |-- 01 Second Chapter.mp3
|       |-- 02 The Eyes Of Truth.mp3
|       |-- 03 Return To Innocence.mp3
|       |-- 04 I Love You... I'll Kill You.mp3
|       |-- 05 Silent Warrior.mp3
|       |-- 06 The Dream Of The Dolphin.mp3
|       |-- 07 Age Of Loneliness (Carly's Song).mp3
|       |-- 08 Out From The Deep.mp3
|       `-- 09 The Cross Of Changes.mp3
|-- Enya
|   `-- The Celts
|       |-- 01 The Celts.mp3
|       |-- Track 10 - Triad.mp3
|       |-- Track 11 - Portrait.mp3
|       |-- Track 12 - Boadicea.mp3
|       |-- Track 13 - Bard Dance.mp3
|       |-- Track 14 - Dan Y Dwr.mp3
|       |-- Track 15 - To Go Beyond (II).mp3
|       |-- Track 2 - Aldebaran.mp3
|       |-- Track 3 - I Want Tomorrow.mp3
|       |-- Track 4 - March of the Celts.mp3
|       |-- Track 5 - Deireadh An Tuath.mp3
|       |-- Track 6 - The Sun in the Stream.mp3
|       |-- Track 7 - To Go Beyond (I).mp3
|       |-- Track 8 - Fairytale.mp3
|       `-- Track 9 - Epona.mp3
|-- Fallen Angel 2
|   `-- Find In Me 98
|       |-- Track 1 - She.mp3
|       |-- Track 10 - Myst of Things.mp3
|       |-- Track 2 - Find In Me.mp3
|       |-- Track 3 - Mr.mp3
|       |-- Track 4 - I Know That Youre Out There.mp3
|       |-- Track 5 - Givin In.mp3
|       |-- Track 6 - My Way.mp3
|       |-- Track 7 - Is This The Way.mp3
|       |-- Track 8 - Make Love.mp3
|       `-- Track 9 - Is Your Faith Fading Fast.mp3
|-- Garth Brooks
|   |-- Double Live
|   |   |-- Disc 1
|   |   |   |-- 01  CALLIN BATON ROUGE.mp3
|   |   |   |-- 02   TWO OF A KIND, WORKIN ON A FULL HOUSE.mp3
|   |   |   |-- 03   SHAMELESS.mp3
|   |   |   |-- 04   PAPA LOVED MAMA.mp3
|   |   |   |-- 05   THE THUNDER ROLLS (LONG VERSION).mp3
|   |   |   |-- 06   WE SHALL BE FREE.mp3
|   |   |   |-- 07   UNANSWERED PRAYERS.mp3
|   |   |   |-- 08   STANDING OUTSIDE THE FIRE.mp3
|   |   |   |-- 09   LONGNECK BOTTLE.mp3
|   |   |   |-- 10   ITS YOUR SONG.mp3
|   |   |   |-- 11   MUCH TOO YOUNG (TO FEEL THIS DAMN OLD).mp3
|   |   |   |-- 12   THE RIVER.mp3
|   |   |   |-- 13   DONT KNOW WHY THIS IS HERE.........mp3
|   |   |   `-- 14   TEARIN IT UP (AND BURNIN IT DOWN).mp3
|   |   `-- Disc 2
|   |       |-- Track 01 - Aint Goin Down (Til the Sun Comes Up).mp3
|   |       |-- Track 02 - Rodeo.mp3
|   |       |-- Track 03 - The Beaches of Cheyenne.mp3
|   |       |-- Track 04 - Two Pina Coladas.mp3
|   |       |-- Track 05 - Wild as the Wind.mp3
|   |       |-- Track 06 - To Make you Feel my Love.mp3
|   |       |-- Track 07 - That Summer.mp3
|   |       |-- Track 08 - American Honky-Tonk Bar Association.mp3
|   |       |-- Track 09 - If Tomorrow Never Comes.mp3

|   |       |-- Track 10 - The Fever.mp3
|   |       |-- Track 11 - Friends in Low Places.mp3
|   |       `-- Track 12 - The Dance.mp3
|   `-- The Hits
|       |-- Track 1 - Aint Going Down (Til The Sun Comes Up)  Garth Brooks.mp3
|       |-- Track 10 - Standing Outside The Fire  Garth Brooks.mp3
|       |-- Track 11 - Rodeo  Garth Brooks.mp3
|       |-- Track 12 - What Shes Doing Now  Garth Brooks.mp3
|       |-- Track 13 - We Shall Be Free  Garth Brooks.mp3
|       |-- Track 14 - Papa Loved Mama  Garth Brooks.mp3
|       |-- Track 15 - Shameless  Garth Brooks.mp3
|       |-- Track 16 - Two Of A Kind Working On A Full House  Garth Brooks.mp3
|       |-- Track 17 - That Summer  Garth Brooks.mp3
|       |-- Track 18 - The Dance  Garth Brooks.mp3
|       |-- Track 2 - Friends In Low Places  Garth Brooks.mp3
|       |-- Track 3 - Callin Baton Rouge  Garth Brooks.mp3
|       |-- Track 4 - The River  Garth Brooks.mp3
|       |-- Track 5 - Much Too Young (To Feel This Damn Old)  Garth Brooks.mp3
|       |-- Track 6 - The Thunder Rolls  Garth Brooks.mp3
|       |-- Track 7 - American Honky Tonk Bar Association  Garth Brooks.mp3
|       |-- Track 8 - If Tomorrow Never Comes  Garth Brooks.mp3
|       `-- Track 9 - Unanswered Prayers  Garth Brooks.mp3
|-- Jean-Luc Ponty
|   `-- Le Voyage
|       `-- disc 2
|           |-- 01 A Taste For Passion.mp3
|           |-- 01 Stay With Me.mp3
|           |-- 16 Caracas.mp3
|           |-- Computer Incantations For World Peace.mp3
|           |-- Eulogy To Oscar Romero.mp3
|           |-- Final Truth.mp3
|           |-- Forever Together.mp3
|           |-- Forms Of Life.mp3
|           |-- In The Kingdom Of Peace.mp3
|           |-- Individual Choice.mp3
|           |-- Infinite Pursuit.mp3
|           |-- Jig.mp3
|           |-- Mystical Adventures (Suite), Part IV.mp3
|           |-- Mystical Adventures (Suite), Part V.mp3
|           |-- Nostalgia.mp3
|           |-- Once A Blue Planet.mp3
|           `-- Rhythms Of Hope.mp3
|-- Lord of the Rings - Fellowship Soundtrack
|   |-- Enya  May it Be.mp3
|   |-- Howard Shore  A Journey in the Dark.mp3
|   |-- Howard Shore  A Knife in the Dark.mp3
|   |-- Howard Shore  Amon Hen.mp3
|   |-- Howard Shore  At the Sign of the Prancing Pony.mp3
|   |-- Howard Shore  Concerning Hobbits.mp3
|   |-- Howard Shore  Flight to the Ford.mp3
|   |-- Howard Shore  Lothlorien.mp3
|   |-- Howard Shore  Many Meetings.mp3
|   |-- Howard Shore  The Black Rider.mp3
|   |-- Howard Shore  The Breaking of the Fellowship.mp3
|   |-- Howard Shore  The Bridge of Khazad Dum.mp3
|   |-- Howard Shore  The Great River.mp3
|   |-- Howard Shore  The Prophecy.mp3
|   |-- Howard Shore  The Ring Goes South.mp3
|   |-- Howard Shore  The Shadow of the Past.mp3
|   |-- Howard Shore  The Treason of Isengard.mp3
|   `-- Howard Shore (The Council of Elrond) & Enya (Aniron)  The Council
of Elrond Featuring Aniron (Theme for Aragorn and Arwen).mp3
|-- Pink Floyd
|   |-- The Piper At The Gates of Dawn
|   |   |-- 01 Astronomy Domine.mp3
|   |   |-- 02 Lucifer Sam.mp3
|   |   |-- 03 Matilda Mother.mp3
|   |   |-- 04 Flaming.mp3
|   |   |-- 05 Pow R. Toc H.mp3
|   |   |-- 06 Take Up Thy Stethoscope And Walk.mp3
|   |   |-- 07 Interstellar Overdrive.mp3
|   |   |-- 08 The Gnome.mp3
|   |   |-- 09 Chapter 24.mp3
|   |   |-- 10 Scarecrow.mp3
|   |   `-- 11 Bike.mp3
|   |-- Ummagumma
|   |   |-- Live
|   |   |   |-- 01 Astronomy Domine.mp3
|   |   |   |-- 02 Careful With That Axe, Eugene.mp3
|   |   |   |-- 03 Set the Controls for the Heart of the Sun.mp3
|   |   |   `-- 04 Saucerful of Secrets.mp3
|   |   `-- Studio
|   |       |-- 01 Sysyphus Part 1  Richard Wright.mp3
|   |       |-- 02 Sysyphus Part 2  Richard Wright.mp3
|   |       |-- 03 Sysyphus Part 3  Richard Wright.mp3
|   |       |-- 04 Sysyphus Part 4  Richard Wright.mp3
|   |       |-- 05 Grantchester Meadows  Roger Waters.mp3
|   |       |-- 06 Several Species Of Small Furry Animals Gathered Together
In A Cave And Grooving With A Pict.mp3
|   |       |-- 07 The Narrow Way Part 1  David Gilmour.mp3
|   |       |-- 08 The Narrow Way Part 2  David Gilmour.mp3
|   |       |-- 09 The Narrow Way Part 3  David Gilmour.mp3
|   |       |-- 10 The Grand Viziers Garden Party Part 1 - Entrance  Nick
Mason.mp3
|   |       |-- 11 The Grand Viziers Garden Party Part 2 - Entertainment
Nick Mason.mp3
|   |       `-- 12 The Grand Viziers Garden Party Part 3 - Exit  Nick
Mason.mp3
|   |-- Wish You Were Here
|   |   |-- 01 Shine on You Crazy Diamond (Part I - V).mp3
|   |   |-- 02 Welcome To The Machine.mp3
|   |   |-- 03 Have A Cigar.mp3
|   |   |-- 04 Wish You Were Here.mp3
|   |   `-- 05 Shine on You Crazy Diamond (Part VI - IX).mp3
|   `-- a saucerful of secrets
|       |-- 01 Let There Be More Light.mp3
|       |-- 02 Remember A Day.mp3
|       |-- 03 Set The Controls For The Heart Of The Sun.mp3
|       |-- 04 Corporal Clegg.mp3
|       |-- 05 A Saucerful Of Secrets.mp3
|       |-- 06 See Saw.mp3
|       `-- 07 Jugband Blues.mp3
|-- South Side Denny And The Skintones
|   `-- Shoot Your Shot
|       |-- Track 1 - Shoot Your Shot.mp3
|       |-- Track 2 - Livin On My Own.mp3
|       |-- Track 3 - Early In The Morning.mp3
|       |-- Track 4 - Ethanol Zone.mp3
|       |-- Track 5 - Shes Good Lookin.mp3
|       |-- Track 6 - Messin with The Kid.mp3
|       |-- Track 7 - Thats What Love Will Make You Do.mp3
|       |-- Track 8 - Cold Sweat.mp3
|       `-- Track 9 - Stormy Monday.mp3
|-- Usquebaugh
|   `-- Change
|       |-- Track 1 - physics made simple.mp3
|       |-- Track 2 - it happened.mp3
|       |-- Track 3 - (a) ursula erin - (b) kesh jig.mp3
|       |-- Track 4 - placebo.mp3
|       |-- Track 5 - phenomena.mp3
|       |-- Track 6 - the road to lisdoonvarna.mp3
|       |-- Track 7 - everything.mp3
|       |-- Track 8 - change.mp3
|       `-- Track 9 - get thee to a nunnery.mp3
`-- wow

37 directories, 253 files






More information about the samba mailing list