Trying to move files to /usr/bin

I am trying to install g77 on my Powerbook, but I keep getting a "permission denied" when I try to move the files to /usr/bin so I can link them to gcc. I have admin permissions, but it still won't let me put the files I need in the /usr/bin directory. Any ideas of what is going wrong here?

You need root access to modify that folder. If you're working in the Terminal, preface the command you're using with sudo. If you're using a GUI application, use the Go to Folder command in the Finder's Go menu to navigate to it, drag the files there, and authenticate yourself.
(47141)

Similar Messages

  • Error -36 while trying to move files on SMB mounted NAS

    Hey,
    I have been experiencing an error -36 while trying to move files around on my NAS.
    I have the feeling it has something to do with insufficient privileges that are being acquired.
    When mounting in windows explorer no problems arise.
    When using the mac mounted disk in Parallels same problem.
    Mounting disk in mac as following:
    smb://login:password@ip-address/NAS-mount
    or
    smb://ip-address/NAS-mount (after which login details are prompted)
    Any help or suggestions are welcome,
    Jan

    Hey,
    I tried CIFS but that is giving me the same error -36.
    I think it must have something to do with finder permissions as windows explorer is handeling it just fine.
    Any more suggestions?
    Tried:
    cifs://login:password@ipaddress/share
    cifs://ipaddress/share

  • When trying to move file and use command and drag, it doesn't move the file just creates a short cut.

    When trying to move file and use command and drag, it doesn't move the file just creates a short cut.

    Using command creates a copy.
    If you want to just move a file, click on it, hold it and drag it to the new location.

  • [Solved] How to save a file in /usr/bin/local using gedit as an admin?

    In my attempt to run these two programs:
    https://github.com/kerchen/export_gr2evernote
    https://github.com/spiermar/bookmarks2evernote
    I noticed they assumed the default python is python 2. I have python 3.3.1 and 2.6.8. I'm following the instructions at: https://wiki.archlinux.org/index.php/Py … ld_scripts
    Created a file with this:
    #!/bin/bash
    script=`readlink -f -- "$1"`
    case "$script" in
    /home/Dropbox/export_gr2evernote-master1/*|/home/Dropbox/bookmarks2evernote2/*)
        exec python2 "$@"
    esac
    exec python3 "$@"
    I then, tried to save it as p2 under /usr/local/bin/ where the only thing that's there is meteor, node, and npm, and it throws me an error saying I don't have enough permissions.
    How do I save p2 as an admin in /usr/bin/local using gedit?
    I've searched on the forums 'create a file in /usr/' and I haven't found anything. Can someone please help me?
    Last edited by jjshinobi (2013-04-23 05:20:47)

    jjshinobi wrote:
    sidneyk wrote:
    jjshinobi wrote:
    I moved p2 to bin, edited my projects path with the username in front of home, saved it as python, made it executable (#sudo chmod +x /usr/local/bin/python), removed p2. Ran:
    #python evernote2enex.py -m 10
    It's still referencing python 3...
    "python3: can't open file 'evernote2enex.py': [Errno 2] No such file or directory"
    My python file contains this:
    #!/bin/bash
    script=`readlink -f -- "$1"`
    case "$script" in
    /home/<user>/Dropbox/export_gr2evernote-master1/*|/home/<user>/Dropbox/bookmarks2evernote2/*)
        exec python2 "$@"
    esac
    exec python3 "$@"
    I did everything exactly like the wiki said, what seems to be the problem?
    OK. Looking at the 2 scripts you quoted, neither one is using a shbang line to set a python version to call. Without that, the python intercept doesn't even come into play. The problem that I see is the way you are starting it:
    sudo nano /usr/local/bin/python
    Is root really necessary for these if they are in your /home/<user>/Dropbox/ directory. And it appears that you are assuming python3 when you start them that way. If you are going to use that method and they are indeed python2 scripts, then change your command to this:
    #python evernote2enex.py -m 10
    You might try it as your normal user too in case root isn't really required.
    I tested out the first ten with:
    #python2 export2enex.py -m 10
    it worked!
    then proceded with
    #python2 export2enex.py GStarred -n exported.enex
    The script is fully functional. Thanks man!
    Actually, you're not even using the script when starting your python scripts that way. You are explicitly calling either python3 (python) or python2 (python2) to run the indicated python script and not even touching the work around /usr/local/bin/python script. If your python script started with a line like either :
    #!/usr/bin/env python
    or:
    #!/usr/bin/python
    And was executable, such that you called it by it's name, i.e. "someprogram.py", then the python script in /usr/local/bin/ would take precedence and effectively intercept the python call and choose the appropriate version of python as long as the path to the directory where "someprogram.py" resides is specified in that /usr/local/bin/python script.
    Last edited by sidneyk (2013-04-25 15:40:19)

  • I am trying to move files into imovie but they wont play

    I am horrible with computers but trying.  The files were saved and would play through VLC player when I clicked on them to rename them I change them to .mov and then when I tried to import in to Imovie they woud not do it and now they will not play at all.  So I tried changing them to mp4 but they wouldnt play still.  How can I convert these or save them to go into imovie so I can get them edited an uploaded to youtube.  I have that part figured out but I dont have the first part figured out.  Thanks

    See my post here for how to do this.

  • Finder freezes when trying to move files to external hard drive

    Whenever I try to move files from internal hard drive to my external finder freezes it. I have over 5 TBs of free space on my external, so I know it's not a space issue. This happens no matter the size of the file. It starts the copy and then will freeze before it finishes. If I try to force quit and select relaunch it acts like it is relaunching but my icons never re-appear and the command bar at the top never returns. So I end up having to hard boot.
    I just reinstalled the 10.5.8 combo update and verified both hard disks, if any repairs came up I repaired and then did the same with disk permissions....it's still freezing on me. I am frustrated because there are some files I'd really like to move to my external raid hard drive but I'm not able to.
    The freezing happens if I'm trying to transfer files from a disc or an additional external HD. My internal HD is only so big and the external Raid drive is for my capture scratch on Final Cut Pro and I'm even having issues capturing to that drive. Everything wants to be on my internal HD and that doesn't work for me.
    Any help would be greatly appreciated.

    Sean Dale1 wrote:
    Do you get any error messages and if so what are they? Do you have any problems copying files off the problem drive back to your Mac or do the freezes only occur when copying to the external?
    No I don't get any error messages, the finder just freezes and when I try to relaunch finder it doesn't relaunch properly..all icons are missing and I'm not able to access the the task bar to properly shut down so I have to hard boot.
    It happens only when trying to save files to the external, whether through drag and drop or within programs. I am able to access files on the external and copy files from there to my internal without problems.
    Have you tried attaching this drive to another Mac and if so do you get the same issues?
    I don't have another Mac to attach the drive to.
    How is this RAID attached, SCSI, FireWire, SATA or what? How was the RAID created, Disk Utility or third party software and have you verified the integrity of the RAID?
    The RAID is attached via SCSI. In an attempt to solve this finder issue I re-installed the drivers to the most current drivers available and in doing so updated any firmware....and there was no change. I was not the one who set up the RAID so I don't know how it was created. It's an Enhance UltraStore R16 and I've been using it without issues since January 2007 and this freezing thing has been intermittent for a few months now but now it's constant and annoying. I've verified the disk through disk utility but I don't have any software to check the integrity otherwise. Do you have any recommendations as to what software I could use to do this?
    Message was edited by: Emily80

  • Error while trying to move file using File adapter

    Hi, I am trying one scenario to move file from one remote folder to other using file adapter as mentioned in heading 4.5.11.1 at http://download.oracle.com/docs/cd/E21764_01/integration.1111/e10231/adptr_file.htm#CHDGFAAB. But I am receiving the below error:
    <messages><input>
    <Invoke1_FileMove_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></Invoke1_FileMove_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "*JCA Binding execute of Reference operation 'FileMove' failed due to: Exception occured when binding was invoked.*
    *Exception occured during invocation of JCA binding: "*Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileReadInteractionSpec due to: Cannot set JCA WSDL Property.**
    **Error while setting JCA WSDL Property.**
    **Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec**
    **Please verify the spelling of the property.**
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>Cannot set JCA WSDL Property.
    Error while setting JCA WSDL Property.
    Property setSourcePhysicalDirectory is not defined for oracle.tip.adapter.file.outbound.FileReadInteractionSpec
    Please verify the spelling of the property.
    </detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages>
    Please provide any insight if someone have tried this.
    Thanks,
    rps

    Hi rps,
    Your interaction-spec className seems to be incorrect (FileReadInteractionSpec).
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
        </interaction-spec>Please try with the above interaction spec and let me know the outcome.
    Regards,
    Neeraj Sehgal

  • Need pacman files for /usr/bin

    Hello, in a freak accident as root, I've deleted my /bin folder. I still have all the rest intact. All I need is pacman's files in that folder in order to recover the others. Can anyone zip their /usr/bin or just their /usr/bin with the pacman files?
    And yes, I have learned my lesson about double checking commands before execution as root.
    Last edited by deadlylife (2010-06-19 21:52:58)

    http://wiki.archlinux.org/index.php/Ins … ting_Linux
    specifically the "Install the required files onto the host system" section.

  • 0 byte files in /usr/bin

    Hello all,
    I just found a bunch of 0 byte files /usr/bin uname, unexpand and pubsub are just a few of about 50 files.
    Anyone know how I can restore those files?
    uname is needed to build som unix tool using MaxPorts.
    Thanks
    adi

    It should not affect your data BUT you should always back up your data routinely & regularly, whether or not you install anything. Computers & hard drives fail, sometimes catastrophically & without warning. The only way to protect yourself from this is to back up anything you can't afford to lose.

  • HT1848 Trying to move files from iPad to new MacBook

    Hi.
    I'm trying to move my music etc from an iPad to my new Macbook. My previous computer (PC) died some time ago, so I have no backups of the info on my iPad. (Well, a backup from about a year ago!) I lost my iPad data once before, after doing an OS update on it, and it was only my own ideas and not AppleCare that helped me to sort the problem out. That said, I'm a bit nervous now that I don't have any backups of the data.
    OK, so I've tried following the steps in the article about this. I've also turned off the automatic sync function now because I'm scared it'll immediately sync to an empty iTunes. But even having done this, I'm still getting the 'sync in progress' message on my iPad. The Macbook isn't giving me the message to 'transfer', but asking if I want to update the OS on the iPad.
    So ... Is the iPad actually sync-ing if it says it's sync-ing or is it just in the initial stages of connection and hasn't done anything yet? Can I leave the devices connected?
    And if I just say no to the OS update, will I then get the message I'm supposed to get?
    *** Oh, and it was opening iPhoto too. I've now followed the instructions to stop this from opening. Would that have been why I was getting the 'sync in progress' message?

    You can use a third-party Mac application like Senuti to move music from your iPad to your iTunes library.
    It's normal for iPhoto to start when you connect an iPad with photos in its camera roll.

  • Trying to move file in v1.0 - false error Mac OS 10.4.8

    I am a huge fan of LR. Well frikkin' done Adobe...and to the whiners and nay sayers and negative comments on this forum - remember most folk who are working pro photographers like me haven't got time in the day to write glowing fabulous comments to counter the silly stuff.
    You really nailed the work flow. We shoot about 250 gigs of data a month and have already shaved many hours per job off due to LR. So there.
    But I have a weird problem I need advice on.
    I am running the latest Mac OSX 10.4.8 on a MacBook Pro with 2 gigs RAM. I am a very experienced Photoshop user (since v3) and a savvy technical computer user on Mac and Win.
    I have come across a repeatable and for me show stopping bug - here's my workflow - I import images as per usual. Then I select some images and make them green with the 8 key, then choose to only view them with the filter.
    Next I want to move these heros to a separate folder. So I make a new folder using the + button. Then I drag the images over. Voila. Works perfectly and I can see the selected images in the finder etc.
    But sometimes and I dont know why only sometimes I get a mesage that states that a certain file name exists already in the folder I am copying to and the copy stops. This aint so, as the folder is brand new and has nothing in it. So now I have a mess of some images copied and some not and I don't know where all my heros are - some copied and some didnt. Now if I try to copy the remainder of the files over now the drag and drop wont actually allow me copy any files at all.
    But sometimes this works and then for no reason I can figure out some times this doesn't.
    Is this a known bug?
    Any feedback gratefully received...
    Will

    thanks for taking time to reply
    i tried restarting LR after restarting the machine, several times. no joy. it seems that LR is now confused about where the images are. there is no synch to the finder anymore. LR thinks the images are somewhere where the finder and bridge dont see them.
    the files are on an external new 100 gig 7200 rpm seagate usb 2.0 drive.
    this particular job is this - we are putting together a new web site and have gone through 4 years of photos to find the heros.
    these were all copied to this little external drive in a series of folders that match the way that the final web site will have galleries.
    the root foler was then imported into LR.
    each folder has around 200 images that we want to use LR to whittle down to the final 30 for each catagory.
    standard stuff. and LR has worked perfectly copying the chosen files to new "selected" folders within each category. but every so often as i say earlier it gets confused. and that REALLY messes up my day.
    also, I am finding that color tags set up in LR are not being seen by Bridge in CS3
    more as it happens
    will

  • Problem when trying to move files with NSFileManager

    Hi there folks.
    I am trying to use some very simple code here to move a folder into another folder on my (or a user's) computer. I have used this code before, but can't for the life of me pinpoint the issue here.
    This is the code that I am using:
    NSString *fromParent = [@"~/Desktop/Images" stringByExpandingTildeInPath];
    NSString *toParent = [openPanel filename]; //this is the result of the user's selection in an NSOpenPanel
    [[NSFileManager defaultManager] moveItemAtPath:fromParent toPath:toParent error:&error];
    When I look at the Console, the error returned from the attempted move is this;
    "Error = Error Domain=NSCocoaErrorDomain Code=512 UserInfo=0x15e65500 "“Images” could not be moved to “rickyd”"
    I'll also add that there is not an issue with the folders/files I am using, as I have also tried numerous other folders/files.
    Although I understand this information is pretty brief, I'd really appreciate and help you guys could lend me here.
    Thanks in advance,
    Ricky.

    Yes, you're correct. The toPath needs to not yet exist.
    I forgot I had to specify the complete file path of the directory after the move would have occurred.
    E.g - instead of having ~/Documents, I need to have ~/Documents/Images.
    Thanks for your little hint
    Ricky.

  • When will my icloud folder reflect memory upgrade? I am trying to move files from google drive folder to icloud.

    My icloud folder does not reflect storage upgrade.  I only had 25GB on my google drive and I have 500GB on my icloud but cannot move these files over. Whats up?

    How much free storage do you have on your system drive?  Since all files on iCloud Drive will be mirrored on your system drive as shadow copies in your user library, you can only keep as many files on iCloud Drive as can be kept on your system drive as well.
    You cannot use iCloud Drive to save space on your system drive, if that is what you are trying to do.

  • Trying to move files into a new folder and th finder folders disappear and show latest open application

    I did not have this problem running the beta. I upgraded to the shipping version yesterday and whenever I try to move a file or application into another folder, both folders disappear, the desktop screen flashes, then I see the finder folders behind whatever application I had open last sitting on top of the finder window. If I let go of the mouse nothing moves and the windows close.
    2013 MacBook Pro 13" retina, 10.10 shipping version

    I'm having the same or similar issue...  I think...  trying to do a little house cleaning in the file structure.  For example, in our events folder I'm creating archive folders (i.e. - 2004, 2005, ect...) and when I use the Files Panel to drag and drop the past event pages into the newly created archive folder, the pages loose all their links.
    Image link prior to and after moving are the same (../images/logo1.gif)
    It does ask me to confirm that I want to move the file but nothing about updating the links.  Is it due to the way the files are linked in the original files?
    Thanks in advance for any help!!!

  • Trying to move file in v1.0 - false error

    Apologies if this post appears twice - I posted it earlier and do not see it here in the new topics list still....
    I am a huge fan of LR. Well frikkin' done Adobe...
    I am running the latest Mac OSX 10.4.8 on a MacBook Pro with 2 gigs RAM. I am a very experienced Photoshop user (since v3) and a savvy technical computer user.
    I have come across a repeatable and for me show stopping bug - here's my workflow - I import images as per usual. Then I select some images and make them green with the 8 key, then choose to only view them with the filter.
    Next I want to move these heros to a separate folder. So I make a new folder using the + button. Then I drag the images over. Voila. Works perfectly and I can see the selected images in the finder etc.
    But sometimes I get a mesage that states that a certain file name exists already in the folder I am copying to and the copy stops. This aint so, as the folder is brand new and has nothing in it. So now I have a mess of some images copied and some not and I don't know where all my heros are - some copied and some didnt. Now if I try to copy the remainder of the files over now the drag and drop wont actually allow me copy any files at all.
    But sometimes this works and then for no reason I can figure out some times this doesn't.
    Is this a known bug?
    Any feedback gratefully received...
    Will

    I'm also running MacOS 10.4.8 and also have been having file-copying problems.
    What I've been trying to do is move some already-cataloged folders from one volume to another. I had read in previous posts (Sean's?) that in these cases Lightroom usually would find the files on its own "eventually," and if it didn't you could use the "locate file" dialog to point it to their new locations.
    What's been happening to me is that Lightroom, or the Finder, or both, stop responding during the copy process, or subsequently when I try to locate the moved file. Generally I get a window with a blank folder list (although in one case the folder contents suddenly appeared after about 15 minutes of inactivity) or a completely unresponsive system and a spinning beachball. Once this happens, Lightroom often doesn't even respond to the force-quit dialog, so this evening I've restarted my Mac more times than I have in the past six months!
    So, what I suspect is happening to Will is similar: the Finder is dying partway through the copy process as part of some interaction with Lightroom, so the contents aren't updating correctly and he's getting false error messages.
    Whatever is going on, it seems like a potential headache down the road, since anyone with a reasonably large library of images is going to have to relocate files from time to time as mounted volumes fill up.
    Anybody who's got a good idea of what's going on and how to keep Lightroom from hanging itself and the Finder during copy operations, please advise!

Maybe you are looking for

  • How can i get the status of the loaded database in OCI ??

    Hi, buddy! Now i wanna get the status of the loaded database,example MOUNT, NOMOUNT,OPEN. Can i use the OCI interface to get it? if it like that, how can i do? Otherwise, is there another way to do in program?? thanks!!

  • Analyst

    I am a data analyst and I am trying to query a table that I know contains data, but I suspect due to my permissions I cant query this table. The DBA says I must have my query wrong and their must be 0 records in that table. But I am digging in on thi

  • Error Message: A crash occured on (date) at (time) while running "Applications": Memorymgr.c, Line:5346, Chunk under-locked

    I keep getting the following warning: A crash occured on (date) at (time) while running "Applications": Memorymgr.c, Line:5346, Chunk under-locked What is causing this? It usually happens overnight while I'm not using my phone... so the first time I

  • Deleting files not detected by agent

    I've created and registered an agent in iFS which is fired when a file is created or deleted. My agent detects the creation, but never the deletion public void handleEvent(IfsEvent event)      throws IfsException { if (event.getEventType() == IfsEven

  • Sneak Preview NetWeaver  04 SP16 Install with SQL Server 2000

    Sneak Preview NetWeaver 04 SP16 Installation instruction refer to MaxDB Database Manager and SQL Studio. Is it possible to use  MS SQL Server 2000 Enterprise instead? What is the installation procedure? Message was edited by: Laxmi Rastogi