Bash: /opt/arch32/mirrorlist: Permission denied - arch32 help

Hi all.
I'm new to Arch Lin and i'm just trying out things to get to know Arch.
At the moment I'm trying to install a 32 bit subsystem as described here http://wiki.archlinux.org/index.php/Ins … _in_Arch64 but in the second step I get the following error:
"bash: /opt/arch32/mirrorlist: Permission denied"
The wiki says I should do
"sed -e 's/x86\_64/i686/g' /etc/pacman.d/mirrorlist > /opt/arch32/mirrorlist",
but that gives me the error above, so I also tried
"sudo sed -e 's/x86\_64/i686/g' /etc/pacman.d/mirrorlist > /opt/arch32/mirrorlist"
which also doesn't work. What's wrong?
PS: i created /opt/arch32 with "sudo mkdir".

Thanks I will try that out!
I'm sorry if I am being stupid but again im very newt o this, but is there a difference between these two things:
> su
> touch hello.txt
and
> sudo touch hello.txt
I dont fully understand the concept of 'sudo' yet, from what I know sudo gives temporary su permission, but under the real user so the owner in the first case becomes root while the owner in the second case becomes whoever is executing the command - is this not how it is?

Similar Messages

  • Bash: /home/oracle/.bashrc: Permission denied

    [root@localhost u01]# ls -lad /home/oracle/{.*,*}
    ls: cannot access /home/oracle/*: No such file or directory
    drwx------. 4  501  507 4096 Aug 21 18:24 /home/oracle/.
    drwxr-xr-x. 6 root root 4096 Aug 21 22:36 /home/oracle/..
    -rwxrwxr-x. 1  501  507  829 Aug 21 18:31 /home/oracle/.bash_history
    -rwxrwxr-x. 1  501  507   18 May 10  2012 /home/oracle/.bash_logout
    -rwxrwxr-x. 1  501  507  176 Aug 21 17:16 /home/oracle/.bash_profile
    -rwxrwxr-x. 1  501  507  124 May 10  2012 /home/oracle/.bashrc
    drwxr-xr-x. 2  501  507 4096 Nov 20  2010 /home/oracle/.gnome2
    drwxr-xr-x. 4  501  507 4096 Aug 17 21:42 /home/oracle/.mozilla
    -rwxrwxr-x. 1  501  507 3786 Aug 21 18:24 /home/oracle/.viminfo
    [root@localhost u01]# su oracle
    [root@localhost u01]# su oracle
    bash: /home/oracle/.bashrc: Permission denied

    Hi,
    Why the Home Oracle files are rwx rwx r-x. the oracle home should have the permissions rwx r-x r-x.
    # chmod -R 755  /home/oracle/*
    To switch to an other user, it is recommended to use
    # su - oracle
    the dash (-) : this is used to load ALL the envirenment of the user oracle.
    Don't forget to verify if the .bashrc is executable, if not run:
    $ chmod +x ~/.bashrc
    I hope this can help you
    Best Regards

  • [solved] -bash: ./test: Permission denied

    hello every one
    I have created a test file:
    #!/bin/sh
    echo "hello, this is a test"
    ls
    then
    chmod +x test
    ./test
    and the result is
    -bash: ./test: Permission denied
    pleas help me no shell scrips work!!!
    Last edited by hsn (2009-09-08 08:05:16)

    nowahn wrote:
    what are the outputs of these commands :
    ls -dl .
    ls -l test
    mount
    Is the partition holding your working directory mounted with the "noexec" option ?
    Thanks

  • Bad interpreter: Permission denied whn installin ORACLE 11g on linux 32 bit

    Hello All,
    I have a VMWare that i installed into it Oracle enterprise Linux 5 32 bit, i am trying to install Oracle 11g R2 on it, i have the .iso oracle file, l linked the CD/DVD drive of the VMware to the location of this ISO file, and i applied all the steps mentioned in this link : http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnEnterpriseLinux5.php
    i did: cd media and i found the runInstaller file but wen trying to run it: ./runInstaller i am facing the below :
    [root@oel5 media]# cd V17489-01/
    [root@oel5 V17489-01]# ls
    doc install response rpm runInstaller sshsetup stage welcome.html
    [root@oel5 V17489-01]# ./runInstaller
    -bash: ./runInstaller: /bin/sh: bad interpreter: Permission denied
    your help is appreciated please.
    Regards,

    The problem is that gnome-mount will not give you execute rights on CD/DVD content. The solution is at the below link in the Tips section:
    Installing Oracle 11g R2 on Ubuntu 10 Howto
    Logout your current X-session and login as user Oracle
    Insert the Oracle Installation DVD
    Or from a remote terminal session:
    Insert the Oracle Installation DVD
    sudo umount /dev/sr0
    Create a new session as user Oracle
    ssh -Y oracle@server_address
    sudo mount /dev/sr0 /media
    /media/database/runInstaller
    If you see "runinstaller" instead of "runInstaller" you can try the following:
    sudo mount -o loop,norock /dev/cdrom /media
    more also here:
    runInstaller ".oui: No such file" / "bad interpreter: Permission denied"
    Edited by: Joe Shmoe on Nov 5, 2010 11:45 AM

  • Permission denied after restore

    i have restored the fresh instance backup and untared it.
    appl tier=p01
    db tier=p02,p03,p04,p05
    oracle database user is =orapix
    appl user is = applpix
    i have given chown -R applpix.dba p01
    and i have given chown -R orapix.dba p02
    chown -R orapix.dba p03
    chown -R orapix.dba p04 chown -R orapix.dba p05
    but after i did this when i restored the database i get the error during the database startup
    [root@server1 etc]# su - orapix
    su: warning: cannot change directory to /home/orapix: Permission denied
    su: /bin/bash: Permission denied
    please help me

    tar does not include a username, only the UID and GID (user id and group id).
    so if you create the same user on a new system, and do not specify UID and GID, it will take the first available UID and GID beyond the privileged UID and GID.
    this can quite easy be another UID and GID than the system on which you've tarred it.
    resolution: check which UID and GID's where on your original system, and recreate the user and groups with these ID's. (it's also very easy to be seen as root: if the UID is not taken, it will display just the ID's after untarring)
    another gotcha: if you untar as a normal user, you can not create files with another ID than your own.

  • Permission Denied on Solaris 10 NFS share, shared trough Windows Server 2008R2

    Hello, 
    We have a NFS share on Windows Server 2008 R2 setup the following way, 
    NTFS permissions for ANONYMOUS LOGON and Everyone groups are set to Full control.
    When mounting this share on our Solaris workstation, it mounts and we can view files in that mount but cannot edit or write to it.
    mount -f nfs 10.0.0.2:/Folder/ /test
    permissions are set as:
    drwxrwxrwx 2 nobody nobody 4096 Mar 4 08:57 test/
    when in test direcorie, trying to copy a file gives this error:
    cp gp.txt gp_1.txt
    cp: cannot create gp_1.txt: Permission denied
    Please help,
    Thanks

    Hi,
    Is there any error message in the Event Log on Windows Server 2008 R2? Please try to install the hotfix in the KB article below.
    "Permission Denied" error when a UNIX user accesses files on an NFS share in Windows Server 2008 R2
    http://support.microsoft.com/kb/2485529
    Best Regards,
    Mandy 
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Backup job failing with error ORA-12546: TNS:permission denied

    Hi All
    This is regarding one backup job running on windows server 2003 failing with below error.. when we are running this job manually that is running fine.. but not running from windows scheduler.
    its 9.2.0.1 and the 32 bit... windows 2003 64 bit
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12546: TNS:permission denied
    Please help.
    Edited by: 811427 on Sep 6, 2011 12:36 AM

    I assume you installed Oracle as "Administrator" user. If so, make sure you are running the job from the same user. Optionally open "services.msc" and go to the "ORCL Service" or whatever it may and check "Log on" tab. It should be "logon as" value should be "Local system". If you are using a domain then give credentials accordingly. Make sure you are part of "DBA" group.
    The ORA-12546 TNS:permission denied points to "Insufficient permissions to trace/log files" - check the trace/log destination is writable and requisite permissions are given.

  • Crontab: Permission denied

    I wanted to install a cron entry to rsync my home dir to my backup server.
    [ebal@myarch ~]€ crontab -e
    bash: /usr/bin/crontab: Permission denied
    In the begging i thought that it was something i did.
    So i re-installed dcron and tried again.
    The same result.
    I checked the perms:
    [ebal@myarch ~]€ ls -l /usr/bin/crontab
    -rwsr-x--- 1 root users 9948 Jan 19 05:20 /usr/bin/crontab
    I synced my abs directory and looked on PKGBUILD
    # by default, any member of group "users" can edit their own crontab
    make PREFIX=/usr CRONTAB_GROUP=users CRONTABS=/var/spool/cron CRONSTAMPS=/var/spool/cronstamps || return 1
    The obvious solution is to add my self to users group, but why this is a necessity?
    Why by default all the users can not edit their crontab ?

    From the crontab manpage:
    Only users who belong to the same group as the crontab binary will be able to install or edit crontabs.  However it'll be possible for  the superuser to install crontabs even for users who don't have the privileges to install them themselves.  (Even for users who don't have a login shell.). Only the superuser may use the -u or -c switches to specify a different user and/or crontab directory.
    A posible solution is to set another group for the binary (eg: crontab) and only add the user allowed to run cron jobs to that group instead of users (users is more general). The drawback with this approach is updates might change ownership back to root:users.

  • Bash: /mnt/cdrom/runInstaller: /bin/sh: bad interpreter: Permission denied

    hi,
    i m new to oracle on linux
    Oracle 10gR2 on RedHat Enterprise Linux 5
    while running ./runInstaller
    this error displays
    bash: /media/database/runInstaller: /bin/sh: bad interpreter: Permission denied
    can any one help me, please answer here or [email protected]

    It's got nothing to do with who he's running the installer as (though he should indeed run it as the oracle user, of course).
    It's got everything to do with the fact that a lot of distros these days automount their CDs with the noexec switch set. Meaning that no-one apart from root is allowed to execute programs from the mounted media. Centos 5 does it, so RHEL5 would do it too. OpenSuse10.3 doesn't do it; Fedora 8 does; Debian 4 does.
    If your distro uses an old-fashioned fstab (Debian 4 does, for example), you could edit that and stick an explicit 'exec' switch in as one of the mount options (plain old "user", commonly specified, implies "noexec").
    But RHEL5 and Fedora 8, for example, use a new udev-magic way of dynamically mounting removable media, so there's nothing listed in /etc/fstab until after a cd or dvd has been automounted... and by that stage, it's too late to edit what the mount options should be!
    The fix for these sorts of distros is to become root and manually unmount any Oracle CDs or DVDs that have been automounted. You can then simply re-mount them by issuing a command such as
    mount -o loop /dev/cdrom /media...and, because this manual mount doesn't include explicit noexec switches, you'll find that if you now become the oracle user, you'll be allowed to execute the runInstaller program normally.

  • Pacman ignores --root flag's input; chroot not in /opt/arch32

    Due to lack of storage capacity on my root partition, I would like to install chroot in my home folder. Which does not work. If I change all the paths to the folder in my home folder nothing works.
    pacman --root /home/svein/arch32 --cachedir /home/svein/arch32/var/cache/pacman/pkg --config /home/svein/arch32/pacman.conf -Sy
    This would output;
    error: config file /opt/arch32/mirrorlist could not be read.
    I cannot see any /opt/ anywhere in the input. So what's wrong?

    Does /home/svein/arch32/pacman.conf  contain "Include = /opt/arch32/mirrorlist"?

  • [SOLVED]bash: Permission denied

    Hi!
    After yesterdays update (pacman -Syu) i can't seem to run scripts or execute commands like
    ./configure
    here is me trying to compile xbmc.
    ==> Bootstraping XBMC
    /home/*****/build/xbmc-pvr-svn/PKGBUILD: ./bootstrap: /bin/sh: felaktig tolk: Åtkomst nekas <--(Permission denied)
    ==> Configuring XBMC
    /home/*****/build/xbmc-pvr-svn/PKGBUILD: ./configure: /bin/sh: felaktig tolk: Åtkomst nekas <--(Permission denied)
    ==> FEL: Build misslyckades <--(build failed)
    Avbryter...
    sorry my locale is Swedish.
    here is me trying to run script that starts vdr.
    ./startvdr
    bash: ./startvdr: Permission denied
    What caused the problem was, my external drives is not auto mounted in Gnome so i used this udev rule
    http://wiki.archlinux.org/index.php/Ude … _it_exists
    which by the ways works great, after i deleted the udev rule file and rebooted everything is back to normal.
    Last edited by decaturguy (2009-12-23 23:26:34)

    ZaQ wrote:
    Hi,
    Maybe the permissions and/or the owner/group changed?
    Therefore, you could post:
    ls -l /PATH/startvdr
    nothing wrong with the permissions:
    -rwxr-xr-x 1 myusername users 180 23 feb 2009 startvdr
    i can run my scripts like this: bash ./startvdr
    but, bash ./configure is no go it get stuck.
    configure: WARNING: unrecognized options: --enable-external-libmad, --enable-external-libfaad, --enable-external-libvorbis, --enable-external-libmpcdec, --enable-external-libflac
    configure: Ensuring config.guess and config.sub exist and is executable
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for ccache... none
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... configure: error: in `/home/****/build/xbmc-pvr-svn/src/pvr-testing2':
    configure: error: cannot run C++ compiled programs.
    If you meant to cross compile, use `--host'.
    See `config.log' for more details.

  • Bash: /etc/init.d/oracle-xe: Permission denied

    arjun@ubuntu:~$ sudo su
    root@ubuntu:/home/arjun# /etc/init.d/oracle-xe configure
    bash: /etc/init.d/oracle-xe: Permission denied
    root@ubuntu:/home/arjun#

    Hi,
    arjun@ubuntu:~$ sudo /etc/init.d/oracle-xe configureRegards,
    Jari

  • /etc/init.d/oracle-xe status gives /bin/su: /bin/bash: Permission denied

    Hi all,
    This is my first attempt at Oracle so I tried XE on a linux machine (RedHat Enterprise).
    Install and configuration went fine, however trying http://localhost:8080/apex gives me a connection refused message. So i tried '/etc/init.d/oracle-xe status' to check the status. However i got the following message : '/bin/su: /bin/bash: Permission denied'.
    I installed as root. What gives? What did i do wrong?

    Fixed that issue. I had to set the permission to enter the directory also and to execute these two files. I have the following problem now though. See below:
    [root@localhost root]# /etc/init.d/oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-AUG-2006 19:57:42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused

  • I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?

    I get an error stating cc cookies dir: cannot make folder / cookies: Permission denied (error 13) when I attempted to download the creative cloud installer on my Mac. Can anyone help with similar pop up window?  I'm trying to get a trial version of CS5. 

    You do not need to involve Creative Cloud to install/try the trial version of CS5...
    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • -bash: ./runInstaller: /bin/sh: bad interpreter: permission denied

    I have done all pre requisite configurations in Enterprise Linux R5 for the installation of Oracle Database 10g R2. When I run this ./runInstaller command from terminal window of Oracle user account. I got following error.
    -bash: ./runInstaller: /bin/sh: bad interpreter: permission denied
    Kindly send me the solution of this problem on urgent basis.
    Thanks.
    Shahzad

    ls -la runInstaller
    Check permission, that user can run.(execute)
    By the way, if you use "oracle" user rune it...
    Please Extract Oracle Source by oracle user.
    Or user root user and change permission source ...
    root$ cd SOURCE
    root $ ls -la runInstaller
    root$ chown -R oracle:oinstall .
    example:
    $ cd Disk1/
    $ ls -la runInstaller
    -rwxr-xr-x 1 oracle oinstall 1756 Mar 12 2008 runInstaller

Maybe you are looking for

  • Want to delete adverts that came with updated Firefox

    When I go onto Jacquie Lawson web page adeverts appear at the top of the page and it has happed on another site too. How can I stop this happening as they are a distraction. If the mouse hovers near the advert it then fills the page. Many thanks Jane

  • Finder window: Grey spinning wheel in status bar and not able to access files?

    Can anyone help with this issue which has utterly perplexed me for 24 hours now. I have all of my photos and videos stored on an external hard drive. Yesterday the hard drive started misbehaving and when I tried to access files it would simply not lo

  • Doubt   regarding   Oracle Database 10g Release 2 (10.2.0.1.0) installation

    hello my pc has following configurtion 256mb ram 60gb hdd p4 2.4 ghz win xp pro sp2 I want to know if my pc will be able to run " Oracle Database 10g Release 2 (10.2.0.1.0) " standard edition on it. <<http://www.oracle.com/technology/software/product

  • URGENT INFO ON BLUETOOTH SHARING????

    When we receive a file via bluetooth, where does it go?? i know, that recognized videos and photos goto "video" and "photos" app whereas music files to "music " app. Similarly, the documents goto "office" and pdf goes to "adobe reader" or "reader" ap

  • Scenario IDOC to JDBC

    Hi experts, i've scenario IDOC to JDBC: the interface receive two idoc's: IDOC1: 1field1, 1field2, 1field3 IDOC2: 2field1, 2field2, 2field3 and give the data to only one table in the receiver, ie, the table is equally filled by the contents of both i