?s on using Terminal to unlock an internal volume

Recently one of my internal volumes (ALB Files) is displaying a "lock" symbol in the lower left corner. After using "get if," all the permissions have been changes to "custom" and I am unable to access the data.
I have my internal 500GB HD partitioned as such:
ALB OS -> only the operating system
ALB Files -> all other media (music, movies, docs, etc)
From what I've gathered on various forums, I need to use terminal to fix the access rights on the "ALB Files" volume. Here are the terminal scripts I think I need:
sudo chflags 0 /volumes/* ---> this removes the current access info on ALL volumes
sudo chmod a+rx /volumes/* ---> this adds read/write for all users on ALL volumes
sudo chmod o=rx /
sudo chmod -N ---> the last two are suppose to remove "everyone" from having top level access to the drives.
This is my first time using Terminal so I need some help executing the scripts properly. I want to change the scripts to only target one specific volume "ALB Files." Therefore, should the first two scripts read:
sudo chflags 0 /"ALB Files"/* ---> this removes the current access info only on "ALB Files?"
sudo chmod a+rx /ALB Files"/* ---> this adds read/write for all users only on "ALB Files?"
Please let me know if these commands are correct or suggest what I should use instead.
Also, because I am changing permissions on my OS volume, do I need to boot from the OSX disk and run Terminal there?
Thanks much for the help!!!

Run commands such as:
sudo chflags 0 '/Volumes/ALB Files/'
Also, because I am changing permissions on my OS volume, do I need to boot from the OSX disk and run Terminal there?
No.
(45881)

Similar Messages

  • How to Unlock 2nd Internal HD??

    2 internal HDs, one for system & apps, the 2nd for data. Carbon copied the internal sys HD (OS 10.4.11) to the data drive. Competed an erase and install to 10.5.6 and then to 10.5.7. All drives show BUT can not open folders nor add data to the internal "data" drive. Highlight the drive and select "Get Info", click on the locked icon and enter password, close info window and does not work. Reopen window and icon shows locked.
    Inserted OS 10.5 install disc and used Disc Utility to repair permissions and restarted, same issue. Any suggestions on how to unlock the internal HD and all its contents??

    Thanks Justin. The Get Info window showed the lock and the ignore ownership box was checked but I went ahead and entered the password. It works now!! Thanks for the help.

  • Using Terminal to Find Locked Files

    Hello all,
    I am a photographer and often use the locking feature on my camera to lock certain images, ones that are good shots.  With Windows, I was able to sort by whether a file was locked or not.  However I am finding that Mavericks does not have this feature.  Therefore I have resorted to using terminal to find locked files.  However I was wondering if I could get assistance in creating a script/command that would take the results of the files I found locked and either copy or move them into a subfolder.
    IE: I have an event folder called BRB-Team1VsTeam2.  I use the command "find . -flags uchg" to find the locked files.  What I need to do now is get the returned result and either copy or move into a subfolder called "locked".
    I tried "find . -flags uchg && cp /locked" but I know the logic isn't quite there but I haven't played with terminal too much to know what I am doing.
    So anyone have a solution to this?  Or know of an application to at least let me search/filter/sort by the file status (IE: Locked vs unlocked)?

    Here is the basic idea, adjust as necessary. The -d option limits the depth into the folder you are searching. You don't need it; I just added if you want to limit the depth into subfolders.
    find /search/path -d 1 -flags uchg -exec cp {} /destination/path \;
    You could roll this up in an Automator workflow, Service, or Folder Action if you want:
    By checking the "Show this action when the workflow runs" you can choose the destination folder at run time. If always the same, leave it unchecked.
    A Folder Action would work on the items added to a particular folder. The find command would have to be modified.
    A Service could be used to pick the source folder, or to add a shortcut command.

  • Can i use iphone 6 unlocked in colombia

    can i use iphone 6 unlocked in colombia

    You would be better off buying the Spint model ,the A1586 which is the model Apple sells outside the Americas and is the model sold in Israel
    Be aware any iPhone from the US does not have an International warranty and you may be required to return it to the US for warranty or posr warranty service

  • Can't format external HDD using terminal: Error: -69877: Couldn't open device

    Disk Utility won't format / erase Seagate Barracuda 2TB (ST2000DM001) - it is an internal drive but I connected it using a docking station via USB. The disk is brand new and unformatted. System indicates that it is S.M.A.R.T incompatible
    When trying to erase the disk, I get error message "disk / link could not be found / opened".
    I tried using terminal "diskutil eraseDisk HFS+ newdisk /dev/disk3" but I get this message:
    Started erase on disk3
    Unmounting disk
    Error: -69877: Couldn't open device
    Any way I could force format the disk?

    Thank you @MrHofman. I had a setup with 2 dock stations and 2 HDDs (my TimeCapsule had crashed and I needed to recover its content disassembling the "box"). I disconnected everything. I restarted the computer., I swithched the USB ports in which I had connected the dock stations; I swithched the HDDs from dock stations, and voilà, the system allowed me to format the "recovery" HDD. Sometimes the "simplest" solutions work...
    @Linc Davis: prior to the fix described above, when trying to partition, same thing would occur : "can't open link / disk" error message. But now it seems to be working fine. Thank you anyway!

  • 16: The transport tool terminated due to an internal error(transport req)

    Hi friends,
    i created one transport request for transporting custom appset to quality system.
    while importing in quality i'm getting request in red color. checked log:
    Unexpected EOF after 88079651 bytes
    Ended with return code:  ===> 16 <===
    16: The transport tool terminated due to an internal error.
    we intially transported Non BPC cubes, along with that infoarea name(/cpmb/bpc) came. But i'm able to see several /cpmb/xx infoobjects. I manually moved from infoarea(/CPMB/BPC) to other infoarea(ybpc) with new request in quality. next i'm trying to delete /cpmb/xx infoobejcts through one program(around 700 infoobjects are exists). can i use ujt_content_activate program to delete contents of appset, if i use that program what i have to mention in content version field? can anyone eloborate usage of ujs_activate_content? we are on bpc75nw sp04
    any suggestions pls to import request correctly.
    thanks,

    continution to above question. sequence of things happend in our side.
    Few BW cubes(not bpc), which are getting data from bpc applications(bpc cubes) via APD are transported. Imported to quality succesfully.
    Next  transferred around 5 BADIs(classes & enhancement implementations) to quality system, which were written for moving data among bpc applications as well for few calculations in plng applications. Succefully imported into quality system and checked respecive BADIs.
    Next trying to transport custom appset. while importing facing above problem. Followed SAP how-to guides/methods.
    any suggestions pls.

  • Filevault encryption paused, despite reset of PRAM and using terminal commands

    I have been trying to partition my HDD but am unable to because file vault encryption is paused - and has been since October 2014.
    I attempted making a new user to see if this would bypass it, but it didn't.
    I have reset the PRAM and have repaired the HDD both in recovery and normal, neither work.
    I have also used terminal command "sudo fdesetup disable" to attempt turning it off, but that doesn't work either.
    Help please??
    Harry

    If you don't already have a current backup of all data, back up before proceeding. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Start up in Recovery mode. When the OS X Utilities screen appears, select Disk Utility.
    In the Disk Utility window, select the icon of the startup volume from the list on the left. It will be nested below another disk icon, usually with the same name. Click the Unlock button in the toolbar. When prompted, enter the login password of a user authorized to unlock the volume, or the alternate decryption key that was generated when you activated FileVault.
    Then, from the menu bar, select
              File ▹ Turn Off Encryption
    Enter the password again.
    You can then restart as usual, if the system is working. Decryption will be completed in the background. It may take several hours, and during that time performance will be reduced.
    If you can't turn off encryption in Disk Utility because the menu item is grayed out, you'll have to erase the volume and then restore the data from a backup. Select the Erase tab, and then select
              Mac OS Extended (Journaled)
    from the Format menu.
    You can then quit to be returned to the main Recovery screen. Follow these instructions if you back up with Time Machine. If you use other backup software, follow its developer's instructions.
    Don't erase the volume unless you have at least two complete, independent backups. One is not enough to be safe.

  • Cannot run Disk Utility, use terminal, or boot from CD, all HDs locked

    I have a Mac Pro with 4 internal drives and 3 of them suddenly locked themselves. I can't run Disk Utility -- I get "underlying task reported failure on exit."
    I can't boot from Disk Warrior CD. I hold down the C key til the Apple logo appears, and then the computer just restarts into my regular system on my hard drive.
    I can run some apps from my startup drive, (obviously I can get on the internet). I downloaded Drive Genius but it will not install.
    I cannot use the terminal to try any of those fancy tricks I read about here.
    Here's what I get when I try Terminal:
    login: PAM Error (line 396): System error
    login: Could not determine audit condition
    [Process completed]
    And after that, I cannot type in the Terminal window.
    Man, this is crazy. 2 of my other internal drives have backup systems on them, but they will not show up as choices in the startup disk section of my system preferences - cuz they are locked.
    Any suggestions? I'm about to install a new drive and try and clone my working system on it and put Disk Warrior on it.

    DJWillis wrote:
    Wait, can I use Terminal from another computer in target mode?
    yes, but do you mean you can boot it in target mode but not from a DVD? this is very strange. try booting fro a DVD in a different way. reboot and hold "option" at the chime. this should boot you into startup disk manager. normally you can insert the DVd at the point and choose to boot from it.

  • Using terminal to uninstall program

    I have instructions to uninstal a program using terminal commands...but it won't let me get to the directory were the uninstall program is:
    cd /Library/Application Support/SecurID
    It won't let me go to Application Support folder even though when I list files in the Library directory, it shows up?

    My question might not be clear....trying to get to Application Support folder using terminal and it won't let me.
    Macintosh-3:Library Melissa$ ls
    Acrobat User Data          Favorites                    Printers
    Address Book Plug-Ins          FontCollections                    PubSub
    Application Support Fonts                              Receipts
    Assistants                    Icons                              Recent Servers
    Audio                              Input Methods                    Safari
    Autosave Information          Internet Plug-Ins          Saved Searches
    Caches                              Keyboard Layouts          Screen Savers
    Calendars                    Keychains                    Sounds
    ColorPickers                    LaunchAgents                    Spelling
    ColorSync                    Logs                              Voices
    Colors                              Mail                              iMovie
    Compositions                    Mail Downloads                    iTunes
    Cookies                              PreferencePanes
    Documentation                    Preferences
    Macintosh-3:Library Melissa$ cd Application Support
    -bash: cd: Application: No such file or directory

  • How to download a file from the internet using terminal

    how to download a file from the internet using terminal
    does any one know how to download afile from the internet using the Terminal application?

    Use curl. Something like this:
    curl -O http://www.example.com/filename.zip
    For more info, type +man curl+.

  • How to use Terminal with KeySpan USB serial adaptor cable?

    I own a KeySpan model USA-19HS to use with our MacBookPro when working on clients networking equipment that require serial communication. I have used ZTerm with excellent luck, but it costs, and is yet another application that I dont really want. I would like to know if any one out there has exacing instructions on how to use Terminal with this adaptor. If I could write a file that had, say, the couple most common settings (9600-8-n-1, 57600-8-n-1, et cetera) that I could simply click on, to open a new Terminal window with those settings, then simply close that, and open a new window (apple+n) in order to get back to a default settings terminal window. All feedback is most appreciated.
    Thanks so much, Jason Sjobeck

    Hi, Jason. Welcome to the Discussions.
    You wrote: "All feedback is most appreciated."OK.
    1. Have you considered discussing this with Keyspan Support?
    2. Have you read the section "OSX has Terminal.app - why do I need ZTerm?" on the ZTerm Home Page? That seems to explain why one needs an app like ZTerm.
    3. A quick search of Keyspan's FAQ for your product and terminal doesn't yield much more than how to find the serial ports using Terminal.
    Likewise, this Google search also yields little, and variants of that search of such weren't particularly help either.
    It appears your inquiry seems to be a somewhat esoteric topic.
    4. Apparently, ZTerm X is a bit long in the tooth and there's no Universal Binary for it. It sounds, however, like you've tried it running on your MBP under Rosetta, yes?
    5. In researching alternatives to ZTerm for you, I note the followng:• The comment from "Reverb" on this page suggests C-Kermit or Kermit as a free alternative.
    • This tip on Mac OS X Hints cites Minicom as another option.6. You may want to try your question on the Unix Discussion.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Using terminal to change IP address

    One emac has gone odd. It refuses it acknowledge the server and it has locked its IP address off the network. It retains the server prefs and won't let me use the sys prefs to open network. (I work in a school - obviously I lock them 80 ).
    Can anyone tell me which file(s) I need to find on the client to change the IP address using terminal please. I've been looking at files in /etc where I think it should be but can't find anything.
    Muchos gracias,
    Danke viel mals
    Merci bien
    Thanks
    Mark

    Hi Candor,
    try man ifconfig !

  • My personal iPhone is locked by carrier AT & T and I want to use a carrier unlock tim Brazil, what do I do?

    My personal iPhone is locked by carrier AT & T and I want to use a carrier unlock tim Brazil, what do I do?

    You will have to unlock it throught AT&T: https://www.att.com/deviceunlock/client/en_US/termsAndCondition

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    The reason that threadjacking is frowned on (as mentioned in the terms use which you can read by clicking the link to the right on this page) is for the most part a practical one:
    By starting your own thread your problem can get individual attention, focussed on your particular set of circumstances.
    By joining somebody else's thread it becomes tricky to answer more than one question at the same time, and can lead to confusion for both parties.
    So if you don't mind the minor inconvenience, please start your own thread (in the correct forum) so we can get to grips with your particular problem!

Maybe you are looking for

  • How can I change my iTunes Store Id ?

    Hi. A friend of mine used his Apple ID on my device when I bought it new after I changed it to my new Id everything worked fine but when I needed to update Google chrome it asked me to sign in with his account . It keeps asking  to log in with his iT

  • HR_MAINTAIN_MASTERDATA is it possible to perform same action as PA41

    Hi All, Is it possible to perform same action as PA 41 through HR_MAINTAIN_MASTERDATA ? I have a scenario If employee is already left i.e. date of leaving is already in info type 0 and if after 2 days I want to change leaving date of employee is it p

  • ITunes mixed some of my albums together

    I'm quite new to the iTunes-thing and I wanted to make sure every album had it's cover visible. So I selected all the songs in my iTunes library and some of the different boxes in the info menu (Artisit, Album, Genre, ...). This caused iTunes to put

  • IPod doesn't appear in iTunes 7 or on my desktop

    After recieving my new MacBook Pro, and upgrading to iTunes 7.02, transferring all of my music and files from my PC to my new Mac, and then restoring the iPod (5th Gen, 60gb) and syncing it to the new iTunes (big mistake, had i known this earlier...)

  • Help Needed. Upgrade from CS2 to CS3 and now PSD Linked Files Not Read?

    Hi! Just upgraded to Illustrator CS3 and I am trying to work on a document I created in CS2 and for some reason when I open the document I am getting this message: Could not find the linked file "filename.psd". Choose repair to locate the missing fil