Results 1 to 2 of 2

Thread: Strange problem: Cannot delete files in Linux w/ Win98

  1. #1

    Strange problem: Cannot delete files in Linux w/ Win98

    Dear all,

    Recently I've setup a Linux with Samba3.0.12 as a Domain PDC, and used Win98 as a client PC. I can logon to PDC, read/modify any files, however, I cannot delete/rename any files in Linux shares. But I can delete/rename files using DOS command prompt in Win98. So this should not be any permission settings problem.

    I tried to logon to Sambe using WinXP. Everything works fine then. However, the majority of my client PCs are still using win98.

    Do you guys have any clue on this?? A thousand thanks for your help!!

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Strange problem: Cannot delete files in Linux w/ Win98

    Actually this is probably a permission issue. When you mount a remote SMB filesystem from SAMBA, you mount it with some new linux permissions. Set up your mount command to allow that.

    Here is the smbmount manpage

    smbmount has used the same syntax for some time (since nothing has really changed for sometime).

    Here is a brief example of how to mount remote filesystems. You can either slap together a quick script to do this at login, or pop the mount info into your /etc/fstab file. There are a few changes to go that route, but it can be setup for all users, and this occurs at bootup. The one drawback for doing this at home, is that when you bootup, you will run into errors if the remote share is not available, in which case you get mount errors. The best way to fix that is to either rerun mount :

    mount -a

    or, just use the script, or use a KDE or GNOME mount tool.

    IIRC LinNeighborhood may be of some use to you. Try it out. This tool can setup the script for you, as well as browse and setup your networking (for CIFS/SMB sharing and remote shares). I used this quite extensively at an old job. But at home, since all is either NFS, OpenAFS, or more Linux/UNIX orientated sharing (even on Win32 boxes I use OpenAFS) GNOME's browser works perfect. But that is for me.

    But however you do do it -- make damn sure that there is full read write for whatever group you fall into. Chances are that you are mounting for one user and group and that your user's permissions don't jive (only Read, no write). Setting a group for smb mounts and adding the user(s) in may be of some simplicity too.

    In short -- you have a script or fstab to use
    you have LinNeighborhood
    you have GNOME's or KDE's built in browsers.


Similar Threads

  1. Winnt\temp files will not delete
    By ronwolff2001 in forum Windows - General Topics
    Replies: 1
    Last Post: 06-22-2006, 07:28 PM
  2. Strange dialup problem
    By jmcook in forum Windows - General Topics
    Replies: 2
    Last Post: 04-18-2004, 02:01 PM
  3. Strange Kopete problem
    By mojo jojo in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 01-08-2004, 03:39 AM
  4. Communicating between win98 pc and Linux rh 8.0
    By 24giovanni in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 02-18-2003, 07:22 AM
  5. bash script to delete files
    By cloverm in forum Programming
    Replies: 16
    Last Post: 02-24-2002, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •