Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I would like to modify/delete the /etc/named.conf file in a Red Hat 8 system. Though I log in as root, I cannot modify or delete the file, or even ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Posts
    26

    file cannot be deleted or modified


    Hello,
    I would like to modify/delete the /etc/named.conf file in a Red Hat 8 system. Though I log in as root, I cannot modify or delete the file, or even chmod it. Is it because the file is used by some process. I have stopped "named" daemon but still the same thing occurs.

    How can I see which proccess uses a particular file? Is there any such command?

  2. #2
    Linux User eugrus's Avatar
    Join Date
    Dec 2004
    Location
    Russia
    Posts
    391

    Re: file cannot be deleted or modified

    Quote Originally Posted by stavros
    How can I see which proccess uses a particular file? Is there any such command?
    /sbin/fuser -v file
    Russian UNIX Forums
    http://eugrus.pp.ru

Posting Permissions

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