Find the answer to your Linux question:
Results 1 to 5 of 5
I am using Gnome with Debian. Why is the delete or cut option grayed out for the owner of this file when the file permissions are rw AND the folder ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Location
    Titusville, FL
    Posts
    13

    Yes, the dreaded delete key

    I am using Gnome with Debian. Why is the delete or cut option grayed out for the owner of this file when the file permissions are rw AND the folder options are set to allow create and delete. I've looked through documentation that seemingly should get me there but cut and delete continue to be grayed out. Please can someone help me here?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Google: linux permissions delete

    Just to be complete, this week I'll discuss how file permissions on directories work, which operate slightly differently.

    Read (r)
    The ability to read the names of files stored in this directory.

    Write (w)
    The ability to rename files in the directory, create new files, or delete existing files, if you also have Execute permissions. If you don't have execute perms, then write perms are meaningless.

  3. #3
    Just Joined!
    Join Date
    Jan 2009
    Location
    Titusville, FL
    Posts
    13

    ??Still no go ...

    Thanks for your response HRO. I feel rather stupid right now because its probably something really simple/obvious that I am missing but nevertheless...

    Here are the permissions on the dir and the file in question.

    drwxrwxr-x
    -rwxrwxr-x

    Right click on the file and both cut and delete options are greyed out.

    I just don't understand why. The logged in user is the owner of this file.

  4. #4
    Just Joined!
    Join Date
    Jan 2009
    Location
    Titusville, FL
    Posts
    13

    News Update

    Well, I just discovered that I can actually click and drag this file to another directory and the keyboard shortcuts will perform cut and delete but the cut and delete options are still grayed out. Can anybody tell me why that is?

  5. #5
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    there may a problem with the files attribute try using this code
    Code:
    chattr -i filename
    This make sure that file can be deleted
    Now try doing the above operation
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

Posting Permissions

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