Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Can not overwrite into a shared directory!


    Hello,

    I faced this trouble & need your help soon:
    1- On my server, I shared 'ctdt' directory for account 'samba_r' (read-only) & 'samba_w' (write access)
    2- On windows2k client, I logged in as 'samba_r', map the shared directory & do my application
    3- On windows2k client, I quit the application, logged in as 'samba_w' & copy files into 'ctdt', but got error 'could not write...the source file may be in use'
    4. On server, I logged in as root , 'ps -ef | grep samba_r' & kill all samba_r's processes
    5. Returned to windows client, re-copied files into 'ctdt', BUT again got error like the above
    7.On windows client, load files into temp directory
    8.Return server, logged in as root, copy the same files (from temp directory) into 'ctdt'
    ==> no error occurred!

    WHY that happen? how to use 'samba_w' from widnows to over-write files onto that shared directory???
    Regards,

  2. #2

    Why do not anyone help me????

    Hello every one,

    I faced this trouble & need your help soon:
    1- On my server, I shared 'ctdt' directory for account 'samba_r' (read-only) & 'samba_w' (write access)
    2- On windows2k client, I logged in as 'samba_r', map the shared directory & do my application
    3- On windows2k client, I quit the application, logged in as 'samba_w' & copy files into 'ctdt', but got error 'could not write...the source file may be in use'
    4. On server, I logged in as root , 'ps -ef | grep samba_r' & kill all samba_r's processes
    5. Returned to windows client, re-copied files into 'ctdt', BUT again got error like the above
    7.On windows client, load files into temp directory
    8.Return server, logged in as root, copy the same files (from temp directory) into 'ctdt'
    ==> no error occurred!

    WHY that happen? how to use 'samba_w' from widnows to over-write files onto that shared directory???
    Regards,

  3. #3
    are your file permisions set up correctly

  4. $spacer_open
    $spacer_close
  5. #4
    Hello,
    Off course! the first time, I copied files into the shared dircetory! & I could also copy new files into that!
    Regards,

  6. #5
    Does Samba write any log files? Do they contain any useful hints?

  7. #6
    Hello,

    How to check log file for Samba???

Posting Permissions

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