Results 1 to 7 of 7

Thread: No write access

  1. #1
    Disneyland NNTP User

    Unhappy No write access

    So, I was trying to change my MAC adress. I found a solution to do this perminantly by googling etc. However I had to manualy add a line to the file (/etc/sysconfig/network/) ifcfg-eth0. Turns out I don't have write access to this file. I'm logged in as root, so how can I not have access?

    I tried a few other files and it turns out I don't have access to any files? Is there something I can do to fix this?

  2. #2

    Default Re: No write access

    Actually you should not log in as root, bad idea.

  3. #3
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,020

    Default Re: No write access

    He probably isn't anyway...
    Günter

    Desk: Leap 42.2, KDE 5, Intel i3, 8Gb, Kingston 64Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  4. #4

    Default Re: No write access

    Try opening a terminal, and typing

    Code:
    su -
    to become root. You can type 'whoami' to check that it's worked. Still no joy?

  5. #5
    Join Date
    Jan 2009
    Location
    Toronto, Ontario
    Posts
    188

    Default Re: No write access

    Hiya,

    It could be that permissions have been set to deny write access to this
    file. Try (as root) 'chmod u+w /etc/sysconfig/network/ifcfg-eth0' then
    attempt to edit the file.

    --
    kev.

  6. #6
    Join Date
    Jan 2009
    Location
    Toronto, Ontario
    Posts
    188

    Default Re: No write access

    Kevin Lucas wrote:

    > Hiya,
    >
    > It could be that permissions have been set to deny write access to this
    > file. Try (as root) 'chmod u+w /etc/sysconfig/network/ifcfg-eth0' then
    > attempt to edit the file.
    >

    It's also possible--although less likely--that the file has the immutable
    attribute set. If you find that you still can't edit the file after
    changing the permissions try 'chattr -i /etc/sysconfig/network/ifcfg-eth0'.
    --
    kev.

  7. #7
    Disneyland NNTP User

    Default Re: No write access

    Quote Originally Posted by yu210148 View Post
    Hiya,

    It could be that permissions have been set to deny write access to this
    file. Try (as root) 'chmod u+w /etc/sysconfig/network/ifcfg-eth0' then
    attempt to edit the file.

    --
    kev.
    thx ( :

    that helped

Posting Permissions

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