Any way to restore permissions of pacakge files?

I was running out of space in my root partition so I decided to use part of the disk that only had my personal data for /usr.
So, I resized and copied over all files from /usr.
But, I realized that I had forgot to preserve permissions after I had already deleted the original /usr partition.
I think I am going to run into many problems e.g. X not running because of setuid bit?
So I am looking for a way to restore permissions without reinstalling all the packages. Any suggestion?
Last edited by barum87 (2009-11-14 07:34:12)

You could check the packages in your pacman cache for the right permissions. Or you could reinstall them, essentially copying the original files with the right permissions to your new /usr. Maybe better make a backup of your configs before you do so though. I also think there might be a simpler way...

Similar Messages

  • HT204266 I erase all application of my iphone 4 with erase restore and now it's in restore mode. Now is there any way to restore my iphone without backup. Please help me. I have no need my previous file i just want my i phone ok and work smoothly as new p

    Hi,
    I erase all application of my iphone 4 with erase restore without any backup & i also lose the product serial number. Now it's in restore mode. Now is there any way to restore my iphone without backup. Please help me. I have no need my previous file I just want my iphone4 ok and work smoothly as like new ipone justlike i bought it at first time. I can't restore it. So Please help me to solv this proble.

    See Here  > without the Backup  >  http://support.apple.com/kb/HT4137

  • After restoring from TC from Yosemite to Mavericks, I lost my Parallels virtual machine.  Any way to restore?

    My situation was that my older iMac met the bare minimum requirements to use Yosemite so I went for it.   It was super slow so I decided to go backwards from Yosemite back to Mavericks. 
    I booted in the internet recovery mode and restored from my TC backup.   Took a long time (like 9+ hours) for this process to run its course.  When it completed, all appears well except that it seems I've lost the virtual machines I had installed using the software Parallels.  This makes sense I guess as my hard drive was wiped to make room for it.  It didn't hit me that this would happen as when I upgraded to Yosemite it was working just on that part of the hard drive.  Just ran with going backwards (my fault) for not thinking that the entire hard drive would be wiped.
    So, long intro to asking, is there any way to restore that virtual machine from a TC backup?  Not sure if those files are saved somewhere on the Mac or in TC to somehow restore?
    Thanks.

    Boot to the Recovery Volume (command - R on a restart or hold down the option key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors. Erase and format the hard drive (Mac OS Extended (Journaled). Then reinstall the OS. Use Setup Assistant to transfer from Time Machine.
    OS X Recovery
    OS X Recovery (2)

  • The data fields in a filled-out PDF form disappeared after a crash.  Is there any way to restore the lost entries?

    Adobe Reader crashed while I had a filled-out Adobe PDF form open.  When I reopened the file, I found that all of the data that had been entered into the form fields had disappeared.  Is there any way to restore the data that is missing?
    I note that the "Restore" command in the Adobe Reader file menu is not available (grayed out).
    Thanks for your time.

    Hi a2jc4life,
    maybe you can restore your deleted profile with this tool
    http://www.chip.de/downloads/FileRestorePlus_29645008.html

  • I've just synched my new iphone 4s and lost my videos and pictures .. is there any way to restore them?

    I've just synched my new iPhone 4s and lost my videos and photos as I opted not to save them when prompted - is there any way to restore these files?

    No. Not if you didn't have them backed up somewhere.

  • Is there any way to restore bookmarks with sync?

    I lost my firefox, but shortly before i clicked the "sync now" thing. I reinstalled it, but now i can't get any of my bookmarks. Is there any way to restore the information?
    I backed up the old firefox file, but replacing it does nothing.

    I lost my firefox, but shortly before i clicked the "sync now" thing. I reinstalled it, but now i can't get any of my bookmarks. Is there any way to restore the information?
    I backed up the old firefox file, but replacing it does nothing.

  • Is there any way to restore deleted bookmarks after uninstalling firefox and reinstalling it?

    When I uninstalled firefox i checked the delete history/bookmarks box by accident and now all my bookmarks are gone. is there any way of restoring them from before i uninstalled firefox?

    Did you remove the JSON backups in the bookmarkbackups folder as well?
    It is better to try to recover a JSON backup because that is a text file and can easily be checked if the recovery succeeded.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox

  • Is there any way to restore lost sessions closed accidently?

    I had many tabs open but accidently closed the firefox without saving it. When I opened next time, I lost all the tabs. Is there any way to restore those tabs.
    I saw a posting which refering to renaming a file called sessionstore.bak but I could not find that file. I need a permanenet solution to this. I don't want to save everything in the bookmark. Alternatively, is there any way to save multiple opened sessions which can be retrieved any time.

    Apparently new in FireFox 4, possibly due to customer demand, there is a selection to Restore Previous Session in the History menu. Unfortunately, I must use it way too OFTEN.

  • Any way to restore the ML color coding instead of the tag system in maverick

    do not care for the tag system with maverick is there any way to restore the color tagging of the the entire file name with maverick

    Path Finder, but may not be finally tested with Mavericks. And every update to the operating system has the potential to render third-party Finder replacement solutions inoperable or unstable.

  • Any way to restore music and photos if iPod when all erased due to interrupted sync?

    is there any way to restore music and photos on iPod when all erased due to interrupted sync?

    You said the music and photos were all erased from the iPod? And now you say your computer and all backups are gone. There is therefore no way to recover your files short of paying thousands of dollars to a professional data recovery laboratory and even then there's no guarantee you'll get all of it – or even some of it – back.
    http://www.datarecoverylabs.com/

  • Any way to restore iTunes library from iPod?

    I lost a hard drive on my labtop and had to re-install the iPod and iTunes programs after getting a new disk. Now the iTunes library is empty and would not recognize the old iPod and want to erase all its contents. Is there any way to restore the library from iPod to my laptop (a Compaq running Windows XP)? The Apple site says I can reverse sync up to five computers with the songs purchases from iStore, but I can't figure out where are the buttons either on the iTunes or the iPod. For the experts out there please help!
    Kirkbrook in Cupertino

    Connect your iPod to your computer. If it is set to update automatically you'll get a message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Also when using most of the utilities listed below your iPod needs to be enabled for disc use, changing to manual update will do this by default. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. The transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows. The procedure is a bit involved and was written long before iTunes 7 so it requires a little adaptation as the iPod preferences are no longer in the location described for instance also it won't transfer playlists. However if you're interested it's posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    YamiPod Mac and Windows Versions
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows Versions
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up in case you have problems again. Relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days you can get loads of storage for a reasonable outlay.

  • My macbook suddenly shut down, and when rebooted, imovie project was completely gone.  No record of it at all.  Have been working on it for days, and it has always been there.  Any way to restore it?  Thanks.

    My macbook suddenly shut down, and when rebooted, imovie project was completely gone.  No record of it at all.  Have been working on it for days, and it has always been there.  Other projects are still there.  Any way to restore it?  Thanks.

    I figured it out!!!
    Hey guys! Here's what I did that saved my project.
    -SHORT VERSION-
    Use the Finder window on your Mac to copy and paste your old project (the one not showing up in imovie) to a new folder so that iMovie will see it.
    -LONG VERSION-
    CONDITIONS:
    The project has to exist on your hard drive. To see if it's hiding around somewhere go to:
    Home (your name)>Movies>iMovie Library (right click and select Show Package Contents)
    In the iMovie Library folder (the default is usually the date) open it to see if your Project is inside. If it is, you are in luck!
    RESTORING PROJECT:
    Open iMovie
    start a new folder under the iMovie Library (again, the default is usually todays date)
    Close iMovie
    In the finder window (as explained above in the CONDITIONS section) select the files and folders of your project and copy them (in my case these consist of folders called Analysis Files, Original Media, "MYPROJECT", Render Files, Shared Items)
    There should now be a folder with today's date in that Show Package Contents folder.
    Paste a copy of your project;s files into this folder.
    When it is done copying, open up the "Original Media" folder and all of your images and clips should be present.
    reopen iMovie. Your project should show up in the Libraries list.
    *If your full project isn't showing in the iMovie timeline (mine just had empty bubbles where all my clips and audio should be) try dragging and dropping the clips and images from the project's "Original Media" folder into the import section of your project. Once the files were reimported, iMovie recognized them all and put them back in the correct place for me.
    Hope this helps someone!

  • Any way to restore Reading List?

    My sister accidentally cleared my Reading List on Safari, which I've been building up for a while. I'm pretty devastated. Any way to restore it? Thank you!!

    Copy the text on the line below to the clipboard, then quit Safari:
    ~/Library/Safari/Bookmarks.plist
    Disable Safari synchronization in iCloud, if applicable.
    Select Go ▹ Go to Folder from the Finder menu bar. Paste into the text box that opens, then press return.
    A folder window will open with a file selected. Restore the selected file from a backup.

  • Any way to recover a lost media file after a master reset?

    we did a master reset a few months ago. i thought i had everything i wanted saved on my sd card. i just realised that i had an 8 hour lecture that i recorded using the stock voice recorder. it defaults to phone memory when recording. i didn't know that. so after the master reset the whole 8 hour lecture is gone. is there any way to restore it?
    i keep seeing this backup assistant running every night, but i don't know how to access the backed up files. i don't remember seeing it before the master reset so i seriously doubt it would have backed up that lecture, but i'm hoping there's a small chance.

        Hi tpolley,
    I can definitely understand the importance of this lecture you had saved on your phone.  When doing a master reset any info that was not saved to the sd card would be deleted and cannot be restored.  Back Up Assistant is a great tool to use for your contacts and media (such as pictures).  It would not have been able to assist with your other info.  I am sorry for any frustration this may have caused you.  Let us know if you need anything else.
    Thanks for your contribution to our community forums,
    BobbyS_VZW
    Follow us on Twitter @vzwsupport

  • Is there any way to restore or rebuild a corrupted database?

    I'm trying to get information from a database, but it's corrupted and not allowing me to see any availbable traces.  If there any way to restore or rebuild a corrupted database?
    Solved!
    Go to Solution.

    Here are a few screen captures of what I'm looking at.  The 3rd capture is of the files making up the database.
    Attachments:
    max_screen_capture.JPG ‏71 KB
    max_screen_capture2.JPG ‏67 KB
    max_screen_capture3.JPG ‏142 KB

Maybe you are looking for

  • Issue about SOA Manager for PI 7.1

    Hi   I've converted a function module to web service. I open the SOA Manager and the web service exists in the directory, But i'm not able to open the links for 1)Open porttype WSDL document      2) Open WSDL document for selected binding      3) Ope

  • Radeon mobility 3470 hybrid driver problem using win 7 x64

    Hello everyone, I am using a t400 2767 and installed windows 7 from msdnaa. Even though i tried pretty much every driver from the internet, the build in radeon mobility 3470 just wont work. The system manager keeps saying there is an driver issiue an

  • Help! Frostwire deleted my music!

    Hi. So recently a friend told me about this program called frostwire where you can download free audio files from youtube, soundcloud, ect. The program transfered  the songs to my itunes library, but deleted all the existing songs I already had in my

  • Slideshow auto-start

    How do I auto-start a slideshow on the same picture?

  • Cant play movies downloaded from Itunes

    I have 2 issues.1. I can't play movies downloaded from Itunes. It says that format is not supported. What can I do?2. I bought the WDTV three weeks ago. ABC Iview no longer supports WD products as of July 1. Not happy. Can anyone help?