Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
hi to all i want to remove a folder on the desktop as it is containing a windows win32 virus but when i trash it it says you dont have ...
  1. #1
    Just Joined! iyuvabharat's Avatar
    Join Date
    Mar 2008
    Location
    HYDERABAD.INDIA
    Posts
    43

    Exclamation how to remove folder permissions



    hi to all i want to remove a folder on the desktop as it is containing a windows win32 virus but when i trash it it says you dont have permission to change parents folder help also there is a lock on the folder advice iam using fedrora 8 i386

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    hi,


    switch to root and flush it as follows
    Code:
    su -
    rm -rf /path/folder_name
    and you should be done
    Linux and me it's a love story

  3. #3
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,413
    But it goes without saying that you should be very very very careful what you do when you have root permissions.

    Especially when using "rm -rf"....
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  4. #4
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    thanx smolloy

    I had to tell him about root and "rm -rf".

    so as smolloy said be very careful
    Linux and me it's a love story

  5. #5
    Just Joined! iyuvabharat's Avatar
    Join Date
    Mar 2008
    Location
    HYDERABAD.INDIA
    Posts
    43

    its not working

    says inavalid request, it is on the desktop help

  6. #6
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    can you post please the results you got when you run the command?
    Linux and me it's a love story

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Execute this
    Code:
    cd ~/Deskop
    ls -l
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined! iyuvabharat's Avatar
    Join Date
    Mar 2008
    Location
    HYDERABAD.INDIA
    Posts
    43
    here is what i got it when i used casper advice

    [arun@localhost ~]$ cd ~/Desktop
    [arun@localhost Desktop]$ 1s -1
    bash: 1s: command not found
    [arun@localhost Desktop]$ ls -1
    AdobeReader.desktop
    aru
    DataOneQUF.exe.desktop
    games
    gnome-system-monitor.desktop
    gnome-terminal.desktop
    II YEAR II SEM. R05 time table.doc
    match_table
    match_table_files
    opera.desktop
    preferred-web-browser.desktop
    reports
    showMessage
    showMessage_files
    SOFT.CCK
    µTorrent.desktop
    untitled folder
    vkmurthy files
    webLogin_files

    what to do..........
    Last edited by iyuvabharat; 05-10-2008 at 04:51 AM. Reason: go it wrong

  9. #9
    Just Joined! iyuvabharat's Avatar
    Join Date
    Mar 2008
    Location
    HYDERABAD.INDIA
    Posts
    43
    TO KHAFIA what should i post when iam not getting anything it does not showing anything seems to me your code is correct but that thing is not unlocking or not giving me permission

  10. #10
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    what are the folders you wanna delete and give us exactly the way you run the command i gave you
    Linux and me it's a love story

Page 1 of 2 1 2 LastLast

Posting Permissions

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