Find the answer to your Linux question:
Results 1 to 3 of 3
Anybody know how I can easily fix the ./shadow_before_purge.txt file? I cannot rm or mv the file. I cannot > ./shadow_before_purge.txt the file either. I suspect it has something to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Monte_McGuire's Avatar
    Join Date
    May 2009
    Posts
    2

    No such file or directory (error 2)


    Anybody know how I can easily fix the ./shadow_before_purge.txt file? I cannot rm or mv the file.
    I cannot > ./shadow_before_purge.txt the file either.
    I suspect it has something to do with corruption of the indexing on the hard drive, but that's just a guess. I don't think it an ownership/permission problem.
    Thanks


    r03701# cd /.shadow
    r03701# ls -l
    ls: ./shadow_before_purge.txt not found: No such file or directory (error 2)
    total 36
    -rw-rw-rw- 1 root sys 7190 May 11 11:27 LINKS_output
    drwxrwxr-x 8 bin auth 512 May 10 23:35 etc
    -rw-rw-rw- 1 root sys 6461 May 11 11:28 r03701.0511.log
    drwxrwxrwx 10 root sys 1024 May 11 11:23 usr
    drwxr-xr-x 3 root sys 512 Oct 23 2002 var

    r03701# > ./shadow_before_purge.txt
    ./shadow_before_purge.txt: cannot create

    r03701# id
    uid=0(root) gid=3(sys) groups=3(sys)

  2. #2
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    Give us some background. What file is that? Is that a file in some software or just an example you have taken? What exactly are you trying to do?
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  3. #3
    Just Joined! Monte_McGuire's Avatar
    Join Date
    May 2009
    Posts
    2
    It is just a flat file, I'm getting an error. "ls: ./shadow_before_purge.txt not found: No such file or directory (error 2)"

    Somehow the directory "thinks" it lives there, but the file doesn't exist in that directory.

    I'm trying to rsync those files to another machine, but can't because that file doesn't exist is that directory.
    Thanks

  4. $spacer_open
    $spacer_close

Posting Permissions

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