Results 1 to 8 of 8
  1. #1

    not deleting files /tmp

    hello dears
    i want deleting file from space /tmp
    but
    this error show for me

    Code:
    [[email protected] - / # rm rf /tmp/*
    rm: remove regular file `/tmp/100-Tell-me-more-french-.png'? y
    rm: cannot remove `/tmp/100-Tell-me-more-french-.png': Read-only file system
    thank for all things

  2. #2
    Join Date
    Nov 2003
    Posts
    538
    Paste output of the 'mount' command.
    XLHost.com
    Dedicated Servers, Virtual Private Servers, and more since 1995.
    drew @ xlhost.com

  3. #3
    Grateful ..
    Code:
    [[email protected] - / # cd /tmp
    [[email protected] - /tmp # mount
    /dev/sda5 on / type ext3 (rw,usrquota)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/sda3 on /tmp type ext3 (rw,noexec,nosuid,nodev,loop=/dev/loop0)
    /dev/sda1 on /boot type ext3 (rw)
    tmpfs on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    /tmp on /tmp type none (rw,noexec,nosuid,bind)

  4. #4
    Join Date
    Nov 2003
    Posts
    538
    Quote Originally Posted by sooran View Post
    Grateful ..
    Code:
    [[email protected] - / # cd /tmp
    [[email protected] - /tmp # mount
    /dev/sda5 on / type ext3 (rw,usrquota)
    proc on /proc type proc (rw)
    sysfs on /sys type sysfs (rw)
    devpts on /dev/pts type devpts (rw,gid=5,mode=620)
    /dev/sda3 on /tmp type ext3 (rw,noexec,nosuid,nodev,loop=/dev/loop0)
    /dev/sda1 on /boot type ext3 (rw)
    tmpfs on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
    none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
    /tmp on /tmp type none (rw,noexec,nosuid,bind)
    Is only the /tmp directory read-only or are all of the filesystems read-only?
    XLHost.com
    Dedicated Servers, Virtual Private Servers, and more since 1995.
    drew @ xlhost.com

  5. #5
    all of the filesystems and /tmp directory read-only
    this directory full read-only
    I can not create one text file on /tmp !

  6. #6
    Join Date
    Nov 2009
    Location
    Cincinnati
    Posts
    1,583
    Yeah I would probably do this.

    mount -o remount /tmp
    'Ripcord'ing is the only way!

  7. #7
    Quote Originally Posted by Visbits View Post
    Yeah I would probably do this.

    mount -o remount /tmp
    this error , show for me :

    Code:
    [[email protected] - / # mount -o remount /tmp
    mount: block device /dev/sda3 is write-protected, mounting read-only
    [[email protected] - / #

  8. #8
    Join Date
    Mar 2009
    Posts
    358
    That sure looks like a mess you have there.
    You've got /tmp bind mounted to /tmp.

    Try
    umount /tmp

    If that doesn't work, show us your /etc/fstab (and if we see that it's fine, reboot).

Similar Threads

  1. Deleting the old files
    By 5need in forum Hosting Security and Technology
    Replies: 9
    Last Post: 07-11-2007, 05:32 AM
  2. deleting /tmp content
    By zodehala in forum Hosting Security and Technology
    Replies: 7
    Last Post: 04-02-2007, 12:09 AM
  3. some nobody files "sleep in my /var/tmp, /tmp,/ dev/shm
    By 0218 in forum Hosting Security and Technology
    Replies: 12
    Last Post: 12-12-2005, 02:06 PM
  4. malicious files within /tmp/tmp
    By neonix in forum Hosting Security and Technology
    Replies: 22
    Last Post: 07-11-2005, 09:00 AM
  5. Deleting files
    By xporter in forum Web Hosting
    Replies: 8
    Last Post: 12-29-2000, 12:50 PM

Posting Permissions

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