The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cant open or edit .htaccess file for bandmin

Discussion in 'General Discussion' started by AbeFroman, Mar 28, 2002.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    HELP HELP
    why cant i touch .htaccess? i am trying to password protect bandwidth

    root@server100 [/usr/local/bandmin/htdocs]# ls
    ./ ../ 2002/ .htaccess .htpasswd index.cgi* in.gif out.gif style.css* total.gif
    root@server100 [/usr/local/bandmin/htdocs]# rm .htaccess
    rm: remove write-protected file `.htaccess'? y
    rm: cannot unlink `.htaccess': Operation not permitted
    root@server100 [/usr/local/bandmin/htdocs]# ls -al
    total 56
    -rw-r--r-- 1 root root 1 Mar 28 16:18 .htaccess
    -rw-r--r-- 1 root root 24 Mar 26 06:56 .htpasswd

    root@server100 [/usr/local/bandmin/htdocs]# chmod 777 .htaccess
    chmod: changing permissions of `.htaccess': Operation not permitted

    Thanks in advance
     
  2. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    is this LIDS?

    Does this have anything do to with LIDS? If so how do I change it so i can make my .htaccess work
     
  3. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    Unlinked?

    why is it linked?
    mv: cannot unlink `.htaccess': Operation not permitted
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Something made that file impenetrable.
    chattr -i .htaccess

    You probably shouldn't use programs you can't control/manage - these posts are entirely linux related and don't have any bearing on the CPanel software.


    Just FYI, this isn't the correct forum for such posts.
     
  5. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    thanks

    thanks you the man!
     
Loading...

Share This Page