[solved] "permission denied" even though I am logged in as root

Hi, I just installed Arch and now I am trying to add repositories to pacman.
I am currently logged in as root
[root@arch ~]#
Now I am trying to access /etc/pacman.conf by typing
/etc/pacman.conf
wich returns
-basch: /etc/pacman.conf: Permission denied
So I checked the forum and the wiki how to check permissions for files. found this wiki.archlinux.org/index.php/File_Permi … ermissions
so I did
# cd /etc
# ls -l
wich gave me
-rw-r--r-- 1 root root 2862 Jun 18 06:01 pacman.conf
If I read this correctly it says that "root" can read and write. But I am logged in as "root" so why can I not edit the file?
Last edited by ningfengrui (2013-08-21 09:50:17)

No problem at all & welcome to arch.
If you had not been so new, I would not of been this kind to you because the first result of a google search of  "basch: /etc/pacman.conf: Permission denied" would have given you the answer you needed
But hey! we all make the same mistake, but be sure to search for the answer before you ask here.
Also, you need to edit the title of your original post to read "[Solved]  "permission denied" even though I am logged in as root"
lecture over ! & again, welcome to arch

Similar Messages

  • I use Illustrator CC on a Mac (OS 10.6.8) Kuler is all ghosted out even though I am logged in to CC.

    I use Illustrator CC on a Mac (OS 10.6.8) Kuler is all ghosted out even though I am logged in to the Creative Cloud.
    Why?
    Diane Sammet

    I tried logging off and on as the other person mentioned, but that did not work.
    Attached is a screen shot:

  • My laptop will not let me install the latest version of iTunes, it says 'the installer has insufficient piviledges to access this directory' and tells me to log on as the administrator, even though I am logged on as the administrator. Please help!!

    My laptop will not let me install the latest version of iTunes, it says 'the installer has insufficient piviledges to access this directory' and tells me to log on as the administrator, even though I am logged on as the administrator. Please help!!

    Hi Caits1988,
    If you are having issues updating iTunes on your Windows machine, you may find the following articles helpful:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Apple Support: Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Regards,
    - Brenden

  • I cannot install flash player even though I am logged in as the administrator.

    I am running Windows 7 and IE9, I think. The error is always that I do not have sufficient privilages to install the flash player, even though I am logged on as the administrator. I have tried running the flash download as administrator to no avail. Please help.

    Try a clean install: http://forums.adobe.com/thread/928315

  • On my iPhone no matter what i always get a message "Your Apple ID has been disabled" even though i can log on on my laptop...

    On my iPhone no matter what i always get a message "Your Apple ID has been disabled" even though i can log on on my laptop...

    That won't help. You need to contact iTunes support so they can re-enable your account. They only work via email or live chat: http://www.apple.com/emea/support/itunes/contact.html

  • HT204266 I can not log into the App Store, even though I am logged in to iTunes. ? Help please :)

    I can not log into the App Store, even though I am logged in to App Store and my password is entered into the settings. This appended after I accidentally switched to the British version of iTunes and I logged out and back in to get to the US. Now, I keep getting an error message that I can not log into the App Store. I have tried updating it to the computer and restarting, but still keep getting the error message. Help please! :)

    I am afraid all apps are tied to the Apple ID they are purchased with and are not transferable.
    Your son have to buy those apps with his own Apple ID and start from scratch.

  • I have moved everything from my macbook pro onto my iMac. For some reason I cant see any of my music in iTunes even though I have logged in with my normal apple ID.

    I have moved everything from my macbook pro onto my iMac. For some reason I cant see any of my music in iTunes even though I have logged in with my normal apple ID. Please help me before I kill something!!

    How did you go about transferring your library onto the iMac? There are specific instructions one must follow to do this correctly without causing loss of data. Simply signing in via your Apple ID won't do much of anything unless you are an iTunes Match subscriber.
    Did you just copy the entire iTunes folder over? If so, Quit iTunes then hold down option and click the iTunes icon in the Dock. Don't release option until the popup appears asking if you want to create a new library. Simply navigate to the library in the folder you copied over.
    If you didn't go about transferring your library in that way, and you still have the MacBook Pro, follow these instructions to transfer your library properly to avoid data loss.
    Hope that helps!

  • Even though I am logged into the apple website with my apple id, I am unable to log into the App Store.  It's the same account.

    Even though I am logged into the apple website with my apple id, I am unable to log into the App Store.  It's the same account.

    Back up all data.
    Step 1
    Triple-click anywhere in the line below on this page to select it:
    /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.
    Log out, log back in, and test. If there's no improvement, continue.
    Step 2
    Reset your computer’s PRAM.

  • Logic X won't update! It ask me to login to app store even though i am logged in!

    Frist of all logic won't show up in Software Update but i know there is a new version released (10.0.3). I can clearly see the update button in App Store, but when i click it i get "If you want to update this software please login to the account you used when you bought this", only problem is i am already logged in!...
    So what can i do about this? I of course want to use the latest version of logic since there is still lots of bugs (btw please also fix the undo freeze bug that is the worst time wasting bug ever!).
    I had no problems updating before this version.
    Best regards // Louis

    Err... Looks like my old Logic Pro X was updated even though i moved it to a different harddrive lol .
    Thanks.

  • Why wont an email send even though i am logged in and i can receive mail

    I upgraded to an iphone6 a couple of month ago and ever since i have I've had problems with my apple mail.
    i log in with my hotmail account and i receive emails thats fine but the notifications (even though they are switched on) will not notify me on a locked screen.
    That is one problem.
    But my main problem is that i am logged in and can receive mail yet i cannot send any mail as it comes up with a message "You cannot send your username and password may be wrong"???
    please help

    Hi,
    I recently helped a friend with the same problem. Do you know what website the email address is from. If it is Hotmail try removing the account and be sure to choose Exchange as the account type when setting up the account again.

  • App store keeps asking for old owner's password when I try to download updates, even though I am logged into my Apple account. It won't allow me to change ID to mine.

    I bought a used iMac recently, and sometimes the app store asks for the user password of the previous owner (and displays former owner's ID). It won't allow me to change ID to mine, even though I am signed into store with my own account (and this is shown in dropdown menu).  How can I make the store recognize my ID for downloads?

    It is showing updates because your machine is tied to the original purchase and will remain so until you wipe the drive.
    As you purchased it used and the seller obviously did not do what he was supposed to do and that is erase the hard drive and reinstall the original system, you will run in to far more difficult problems when you need to reinstall for whatever reason. The new licensing requirements are that any mac is sold with the original OS - any OS or app obtained at the app store is NOT transferable and the buyer needs to purchase their own license. That means you will not be able to reinstall the OS.
    At some point, you will need to try to get either the original install disks (from the seller or Apple) and wipe your drive and reinstall. Then you can download your own licensed copy of Mavericks and any apps you want.

  • [SOLVED]"permission denied" when building pkg

    most consistantly, I get the error when a pkgbuild has the line: ./autogen.sh
    in building linphone-git, mediastreamer-git and ortp-git
    another time, I got burned with the line: ./system.tmp
    from building wiimms-iso-tools
    and the last pkg I tried to build, I got it on the line: ./file2h
    while building linux-wbfs-manager
    ...it really bugs me about these packages, because my desktop has the exact same install and works fine (so well, I can build them on the desktop and install them on the laptop... but that becomes tedious after a while, so I'd like to fix this issue... I searched for the issue in the forums, and it always semed to be related to the actual pkgbuild... but that's not the case in my scenario because the build works fine on the desktop and kicks me in the teeth on the laptop.  Please ask whatever questions necessary to get the info needed to deal with this issue.  I'm not really strong at pkgbuild configurations (only make a couple for my own to test my abiliities) so I'm not sure what to include exactly.  I can include the line numbers for the pkgbuilds in question, but I'm sure the PKGBBUILDs are not the issue here... it's something to do with my laptop...
    come to think of it, my desktop isn't quite up to date as my laptop, I think... because the laptop ran into an issue where python-qt and python-sip were attempting to replace python2-qt and python2-sip, but both python2 pkgs were deps for like 50+ other packages... so I'm not sure if that's related.  Pretty sure I didn't update my desktop and get that issue... not in the last couple of days.  And that issue started on my laptop today... both issues, actually, so maybe they are related.
    SOLUTION: removed "noexec" from tmpfs options for /tmp ramdisk setup in fstab
    Moral of the story: be mindful of how you configure things, because an old configuration can ruin a new package installation or functionality.
    Last edited by CPUnltd (2011-01-24 22:09:34)

    ==> Starting make...
    patching file Makefile
    Hunk #1 succeeded at 165 (offset 11 lines).
    Hunk #2 succeeded at 459 (offset 19 lines).
    ./setup.sh: line 47: ./system.tmp: Permission denied
    ***  create templates.sed     
    ***  create version.h         
    /bin/bash: ./gen-template.sh: Permission denied
    make: *** [version.h] Error 126
        Aborting...
    The build failed.
    ==> Starting build()...
    gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -Ilibwbfs -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14    -c -o file2h.o file2h.c
    gcc -o file2h file2h.o
    ./file2h wbfs_gui_glade.h wbfs_gui.glade
    make: execvp: ./file2h: Permission denied
    make: *** [wbfs_gui_glade.h] Error 127
        Aborting...
    The build failed.
    ==> Starting make...
    /tmp/packerbuild-1000/linphone-git/linphone-git/PKGBUILD: line 39: ./autogen.sh: Permission denied
        Aborting...
    The build failed.
    /tmp/packerbuild-1000/mediastreamer-git/mediastreamer-git/PKGBUILD: line 35: ./autogen.sh: Permission denied
        Aborting...
    The build failed.
    ==> Starting make...
    /tmp/packerbuild-1000/ortp-git/ortp-git/PKGBUILD: line 34: ./autogen.sh: Permission denied
        Aborting...
    The build failed.

  • [Solved] Permission denied when trying to create aur4 repo

    I'm trying to follow the steps here to migrate my aur packages to aur4.  I've created my public key, edited ~/.ssh/config as described, and copied my public key file to my aur4 account settings.
    When I run my git clone command I get this:
    $ git clone ssh://[email protected]/wcgbrowser-git.git
    Cloning into 'wcgbrowser-git'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Is there a step missing here where I need to create the repository on aur4 first, or is that done automatically when I clone?  Seems logical, but I couldn't find a way to create the repo either in the web interface or on the wiki.  Or is this indeed an authentication issue of some kind?
    Last edited by lykwydchykyn (2015-06-08 18:53:57)

    lykwydchykyn wrote:is this indeed an authentication issue of some kind?
    The "Permission denied (publickey)" message suggests that this is the case. Double-check that your ~/.ssh/config and the public key on the AUR web interface are correct.

  • Why is iTunes continually requesting permission (allow or deny) even though my Firewall shows iTunes accepting incoming connections?

    Thanks for any input provided. Much appreciated!

    Theresa Mesa wrote:
    I'm not reinstalling all those apps just because Apple has decided to make this annoying.
    well, as mentioned, the software firewall isn't necessary as long as you are behind your router firewall and your network is properly secured.
    happy computing !

  • [Solved] Permission denied for imgs in apache home folder

    Hi,
    I'm getting 403 error when trying to open a captcha image with the browser (generated by codeigniter PHP framework  with captcha helper and Tank Auth library) the imgs are created with the http owner with permission "-rw-r--r--" inside a captcha folder
    with 777 permissions.
       The apache local server is configured to use the documentRoot to a www folder in /home dir with this permissions  "drwxr-xr-x" 
    Have http group and users created like the arch wiki LAMP section.
    The httpd.conf is confgured like this:
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/lucas/www"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/lucas/www">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    Last edited by crosssover (2012-09-17 23:20:57)

    Here is the log massge
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] File does not exist: /home/lucas/www/favicon.ico
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] client denied by server configuration: /home/lucas/www/test/application/captcha/1347816281.8856.jpg

Maybe you are looking for

  • Flash player 10.3 not working and i've tried everything, i mean everything

    Good day all. I'm using the latest firefox 5, win xp pro sp3 and flash 10.3. Now im trying to play a game on facebook and it keeps saying Please update your flash player by clicking HERE.Now i've uninstalled flash with the uninstaller and rebooted an

  • Burn a dvd on an iamc

    Alright guys.. Have a few ableton tutorials on dvd roms and want to burn them to dvds so i can watch them on the tv.. Have burned a disc to a dvd+r but it wont work on my tv.. It still works on my mac but not on the tv.. Am i doing something wrong or

  • I can't install weblogic server 10.3 found error

    I have install to 65% and found error. i want to know why i can't install weblogic server 10.3 (may be error was create by jdk or anything else Please tell me! ) and how many  problem  that can happen when install weblogic server 10.3 ps. - OS that i

  • PSE 8 backup fails at 70% "error in writing files"

    This problem has existed since I purchased a replacement laptop and reinstalled PSE 8 I have a little less than 8,000 photos and I back up to an External HD I have read the earlier extensive discussion on this topic which seemed inconclusive as to wh

  • 1.4.1 Windows: File is offline or missing

    Some photos I want to work on in my catalog are giving me the offline or missing error message. I may have burned them to a CD, but I didn't mean to delete them when I did, just make a copy. I'm sure they're still in their original folder, but what i