Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, the permission of 'renaming a file' is included in which right: 'read', 'write' or 'execute' ??? :ssssss...
  1. #1
    Just Joined!
    Join Date
    Apr 2011
    Posts
    8

    renaming file right access

    Hi,
    the permission of 'renaming a file' is included in which right: 'read', 'write' or 'execute' ???
    :ssssss

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    Renaming a file actually has nothing to do with the file at all! Filenames are stored in directories and not in the file's inode with the ownership and access rights. This means that renaming files requires an edit of the parent directory, for which you need write access to the directory.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

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