LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-20-2006, 04:27 PM   #1
tendonut
Member
 
Registered: Nov 2005
Location: Niagara Falls, NY
Distribution: SuSE 10.2, Fedora Core 7, Ubuntu 6.06
Posts: 49

Rep: Reputation: 15
Cannot Delete files on Linux file share drive with Windows


This is very strange. For some reason, I can read and write files on the linux file server I have set up, but I can no longer delete files if I am connected with a Windows machine. This server has been running great for 2 years at least. Just now it has become a problem. If I log on with my Mac laptop (using the SMB system), I have no problem. I just did an entire hard drive dump on my Windows machine and even right after the reinstall of Windows, I got the same problem. Any ideas?
 
Old 01-22-2006, 06:45 PM   #2
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
The first thing that comes to mind is that your samba login name (and password) from the Windows machine have changed. Or you are logged in as a different user on the Windows machine resulting in a different login name for the samba server.

Especially
Quote:
right after the reinstall of Windows
the name and password might have been changed.

Depending on the set-up of samba this may result in a read-only access, or in no access at all.
 
Old 01-23-2006, 08:16 AM   #3
tendonut
Member
 
Registered: Nov 2005
Location: Niagara Falls, NY
Distribution: SuSE 10.2, Fedora Core 7, Ubuntu 6.06
Posts: 49

Original Poster
Rep: Reputation: 15
That's true, but this started to occur BEFORE I reformatted the machine and continued after I did so. Nothing has changed at all with Samba. But what I should mention is I was screwing around with Apache and I changed the mountpoint for my file sharing drive from /home/me/D to /mnt/D. But I did make the proper modifications in the smb.conf and the fstab files. Besides, it works fine with my Mac, but the 2 windows computers don't work anymore. Both started at the same time. And the other Windows computer has been having no problems at all. This all started after I reinstalled Apache..but not right away. I installed Macromedia Dreamweaver 8 and was able to save ONE TIME to the server, then deleted the file I just saved. When I went back to it to save again, it gave me the permissions error. That was when I reformatted expecting it to get better, but it didn't. Then I went upstairs to the other Windows machine and got the same error.

EDIT: I just thought of something. I set up the "Check-In, Check Out" option with Dreamweaver. For you who do not know what that is, it doesn't allow you to edit or delete files if it is being accessed by another instance of Dreamweaver (or any program probably). I wonder if setting that up caused the problem. It was right after I installed Dreamweaver did I notice this issue.

Last edited by tendonut; 01-23-2006 at 08:22 AM.
 
Old 01-23-2006, 11:35 AM   #4
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
Do you have the same problems with files that have nothing to do with Dreamweaver?

If it is a file lock problem: the samba web interface swat should list any active file locks which may prevent rewriting/deleting a file.

Perhaps a restart of the samba server will help. (Make sure none of your machines has any files open via samba).
 
Old 01-23-2006, 11:43 AM   #5
tendonut
Member
 
Registered: Nov 2005
Location: Niagara Falls, NY
Distribution: SuSE 10.2, Fedora Core 7, Ubuntu 6.06
Posts: 49

Original Poster
Rep: Reputation: 15
Yes, I have the problem with every file using every means of accessing the server. I have done more than just restarting Samba, I've rebooted the entire machine a few times.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a windows hosted file sharing that can share files with suse 10.0?? winstone5000 Linux - Networking 3 12-18-2005 03:39 PM
Can't delete file on NFS share in Nautilus corkypa Linux - Software 0 10-18-2005 12:13 PM
windows xp and linux files on external drive man10.0lin Linux - Newbie 3 05-18-2005 01:55 PM
Mounting windows xp file system, creates mnt point, however, cant read files in share cmd0a0 Linux - Networking 10 04-16-2005 12:28 AM
Seeing a Linux drive from Windows and copying files from the Linux drive? Alvis Linux - Software 4 03-26-2005 07:03 PM


All times are GMT -5. The time now is 05:01 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration