[SOLVED] Incorrect File Permissions

I did something very stupid involving a recursive chmod in the wrong directory.  I realized my mistake right away and stopped the execution, but I don't know how many files got hit.  I at least know /usr/bin got changed since I get the wonderful "sudo: must be setuid root". 
Is it practical to try and fix some of the file permissions in single user mode or should I just wipe and reinstall Arch? It's a relatively clean/recent installation.
Last edited by mdschechtman (2011-08-05 17:12:11)

mdschechtman wrote:I did "# chown -R root:root .*", or at least I thought I did.
So you did `chown', not `chmod' as you initially stated. If you did run that command, with ".*" as argument, it should have only changed the hidden files and directories recursively. But you seem unsure about the actual command you ran? Try `history | grep chown' maybe...
mdschechtman wrote:In my panic, I forgot to check which directory I ran the command from.
OK. My script should be able to fix the system files, provided you adjust $min accordingly.
On the other hand, since you don't have an idea which directory is affected, `find' needs to do a lot of work on the whole /, you might as well just reinstall all of your packages... i.e. `pacman -S $(pacman -Qq)'. (Edit: Note though, pacman will not fix permissions or ownership of directories, but will, AFAIK, print a warning when they differ).
Next time... Remember, don't panic!!!1
Last edited by lolilolicon (2011-08-05 17:09:31)

Similar Messages

  • New computer + manual transfer of files = permissions mess!

    Hello everyone,
    Bear with me, my situation is lengthy to explain, possibly because I don't have the right words to describe it.
    I've got a difficult situation I can't figure out. Let me start by saying, I don't know the Terminal very well, as I suspect that fixing my problem will definitely involve the Terminal.  I know just enough to be dangerous (or to copy and paste!)
    I had an old laptop running 10.6, and have a new laptop now running 10.8.4.  Rather than use the Migration Assistant, I felt I wanted a clean start, a new user profile, etc, so I started from scratch.  I should add that the new laptop has two internal drives, one that houses the OS, the other that is meant to store my (user generated) files.  Also, for abbreviations' sake-- old computer, my username was called OldUser, and new computer my username is now NewUser.
    I moved thousands of files on to my new computer's file storage volume (called "Data"), only to discover that any file I open, when I try to save, says this:
    The document “example.rtf” could not be saved. The file is locked. Do you want to save your changes to it anyway? [Save Anyway] [Cancel]
    There's also an accompanying tool tip that shows up next to the file's name (at the top of the open document) that says:
    The document could not be autosaved.  You don't have permission.
    It doesn't matter what kind of document I open up, they all say this same thing.
    All these troubled files reside here:  /Volumes/Data/Old laptop files/Desktop.  Files that are NOT in this directory, but are elsewher in the same volume "Data" behave just fine, (and no, just by adding a new file into the Old Laptop Files/Desktop directory doesn't "corrupt" it at this point.)
    I have looked at the permissions of some of these troubled files, (File > Get Info) and discovered something I hadn't seen before.  It looks like this:
    everyone:    Custom
    NewUser:     Read & Write
    admin:       Read & Write
    everyone:    Read & Write
    The reason I say "I'd never seen it before" is because instead of the usual three categories, Owner/group/other, there's that fourth one at the top that says "custom."
    The rest of the permissions, I set to "Read/Write" by recursively using the chmod command to set the file permissions to 777.  (This is one command line trick I do know).  But it didn't work!
    At this point, I'm really stuck, because I lack the file permissions/command line vocabularly to even be able to google my question!  Help?!
    Thanks in advance for any tips/help!

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Need help fixing my safari.  have already done files perms repair to no avail.  Only thing that happens when I select Safari is the screen changes color.

    I Need assistance repairing my browser "Safari" on my MacBook Pro.  The only thing that happens when I select it is that the Icon does bounce up and down.  I've already tried to repair the files perms to no avail. I have also created another user and tried to use Safari when logged on as them and it didn't work then either.
    Help!!  I'm new to Apple but have loads of PC experience...

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Another PSCS5 Won't Start/Scratch File/Permissions Thread

    Win 7 x64, PS CS5 12.0.3.  12GB RAM, SSD for C:, HDD for D:, >900GB available on D:.
    PS starts fine with only C:/ selected as scratch file location.  But when I add a secondary scratch file location of D:/, I get the following errors on PS startup,
    I have searched and read everything I can find about this problem but to no avail.  In exploring this problem, I have set permissions for C: and D: to Full Control for my user account, administrator account, System, and authenticated users.  No change in behavior.  I have deleted the Preferences file, although as shown above, PS itself is deleting it.  After the prefs file is deleted, whether by me or PS, PS starts fine, but with only C:/ as scratch.  If I again add D:/ it again errors on next start.
    I know of no problem with D:, no error messages except the one from PS.  It is also used for a second Windows pagefile location and Windows TEMP/TMP files.
    PS will start with D:/ selected as a scratch file location if I Run As Administrator.
    I don't see any relevant error in Event Viewer, although I am incompetent and ignorant of that tool.
    Any help will be appreciated.
    Hold on, before hitting the Post button, I tried one more thing.  I did the CTRL-ALT thing on PS startup and added D:/ as a scratch file location in that dialog.  Then close PS, start it again.  No problems.  So it appears that PS just doesn't like to have a secondary scratch file location added from the running application by calling up the Edit/Preferences/Performance dialog.
    I'll go ahead and make this post, hoping it might help someone else, and I will watch things for a while, maybe back off on some of the permissions, and report back with any findings.
    Stan

    No, I haven't been unable to access the scratch folder.  I have been unable to successfully have Photoshop use my D: drive as the location for a secondary scratch file if it has insufficient room on C:.  Going into the Edit/Preferences/Performance dialog and telling Photoshop to add the D: drive as the secondary location for a scratch file does not work.  It appears to work, and a new preferences files is written, but when Photoshop opens the next time, it says it encountered a disk error and that the preferences file is invalid and then it deletes the preferences file.  Then I can open Photoshop and it will make a new preferences file and works OK, but with only C: as the scratch file location, per default.  If instead, I press CTRL-ALT immediately after starting Photoshop, it opens a dialog to ask me where I want scratch files.  I can tell it C: and D:, it makes a preferences file with that information, and then everything is fine.  I just don't know why I can't accomplish that from within Photoshop using the Edit/Preferences dialog.  As I said, this behavior does not depend on file permissions.
    As to what I have been through, it is pretty much what I have described, elevating file permissions to Full Control for all user categories, resulting in no change in behavior, and then trying the CTRL-ALT procedure, which solves the problem, and then lowering the permissions to where they were before, and the CTRL-ALT procedure still works.  Every time.  And the Edit/Preferences dialog never works (for this purpose).
    Uh, oh, there is more to this.  Although the CTRL-ALT procedure solved the problem specifically for setting the secondary scratch file location, I just tried setting some more preferences from within Photoshop, and got the same behavior as before, namely that the two error messages appear the next time Photoshop tries to open.  So it appears to be more general, occuring whenever Photoshop creates a preferences file from the Edit/Preferences dialog.   [Note:  not right, further experiment results later.]
    Now what?
    Noel, if you believe this is due to security settings, I am willing to try whatever you recommend, but I believe you think I should solve the problem by elevating file permissions (which I have already tried) and running on an administrator account, and dealing with security issues in Windows and with procedures.  But does everyone else using two drives for scratch files have to do that?  I think I have something messed up somewhere but I don't know what.
    Here are three scenarios:
    Scenario #1:
    1.  Delete preferences file.
    2.  Open PS running as user.
    3.  A prefs file is created, but with 0 bytes, as observed in Windows Explorer.
    4.  Using Edit/Preferences/Performances, add D: as a secondary scratch drive.
    5.  Close PS.
    6.  The prefs file now has 190 KB. .
    7.  Open PS running as user.
    8.  Error messages received, PS does not start.  Prefs file is deleted.
    Scenario #2:
    1.  Start PS using CTRL-ALT procedure.
    2.  In the Scratch Disk Preferences dialog that comes up before PS, set D: as a secondary scratch drive.
    3.  A prefs file is created, but with 0 bytes.
    4.  Close PS.
    5.  The prefs file now has 190 KB.
    6.  Start PS, running as user.
    7.  Look in Prefs, shows C: and D: as scratch drives.
    8.  Close PS.
    9.  Time stamp of prefs file is updated.
    Scenario #3:
    1.  Delete prefs file.
    2.  Start PS, Run As Administrator.
    3.  Using Edit/Preferences/Performances, add D: as a secondary scratch drive.
    4.   A prefs file is created, but with 0 bytes.
    5.  Close PS.
    6.  The prefs file now has 190 KB.
    7.  Start PS, Run As Administrator.
    8.  Look in Prefs, shows C: and D: as scratch drives.
    9.  Close PS.
    10.  Time stamp of prefs file is updated.
    11.  Start PS, running as user.
    12  Get errors, prefs file is deleted.
    Note that I used scratch file locations in these scenarios.  I do't think it has anything to do with scratch files, as it turns out.  It seems to just be how the prefs file is created.
    Further experiment.
    Open PS as user, Edit/Preferences/Cursors, don't change anything, hit OK, close PS.
    Open PS as user, opens OK.  Edit/Preferences/Performance, don't change anything, hit OK, close PS.
    Open PS as user, get errors.
    Open PS as user, Edit/Preferences/Performance, don't hit OK, switch to Cursors dialog, no changes, hit OK, close PS.
    Open PS as user, get errors.
    Open PS as user, Edit/Preferences/Performance, don't change anything, Cancel, close PS.
    Open PS as user, opens OK.
    OK, so it doesn't have anything to do with scratch files, it just has to do with visiting the Preferences/Performance dialog.  Unless the only action taken is to Cancel the dialog.
    My head hurts.
    Stan

  • HP Photosmart 2610xi scanned file permissions failure

    I recently upgraded to Mavericks. When I try to save a scanned file using HP Photosmart 2610xi it files due to file permissions. Have repaired permissions but no change. Tried searching for a new driver with HP with no luck. Anyone else have this same problem and found a way to solve it. Tried image capture and import with preview but they create huge files.

    Hello @rmo5369 , and welcome to the HP Forums!
    I can see you're experiencing scan issues.  I would like to help!
    I would suggest deleting the printer from your print system, using this document: Uninstalling the Printer Software.
    Once you have deleted it, I would suggest verifying and repairing the disk permissions:
     About Disk Utility's Repair Disk Permissions feature.
    I would also suggest running your Apple updates: 
     OS X: Updating OS X and Mac App Store apps
    After the updates, I would recommend reinstalling the HP Photosmart 7510 series C311 Full Feature Software and Drivers.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • File Permissions Changed Now System Won't Boot!

    I recently networked my G5 to a macbook with the latest version of Leopard. I noticed that even though I had set the permissions on all of my drives for another user to access from the macbook, most of the files inside had not updated with this permission. Even when I set permissions on a folder, each file inside the folder ignored the permission and only worked if I set them up one at a time. Why?????
    So I highlighted a folder, clicked info and this time when I set the permissions I went to advanced and then ticked the box which stated something along the lines of "include everything within"
    This was clearly a big mistake. The results from doing this to one non-system folder that contained all my photoshop images, resulted in locks appearing on every drive, and the macbook was locked out from accessing my drives on the network.
    So I stupidly tried clicking on my main drive and choosing the same "include everything" options for the other user. It took over an hour to apparantly give read/write permissions to all my files on my main drive. Then when I rebooted, the system failed to load.
    I just get a grey screen with the apple logo. No spinning wheel. Nothing.
    I had to force eject the drive with the old paperclip in the DVD routine, insert the system disk and then boot from that.
    I ran the verify disk. No errors. I ran "Permissions verify" and kept getting lines that said "ACL found but not expected on System/Library/Frameworks/.....
    I ran "Repair disk permissions". It took 4 hours. Rebooted.
    This time I get the grey screen and the spinning wheel, but the system never boots. The drive isn't even active.
    I tried booting in single user mode. When I get to the prompt I tried mounting the drive by typing:
    mount -uw / and then followed by chmod o+rx /. This was the solution to a similar permissions problem I had a while ago, that worked perfectly. This time it did nothing. Also when I typed exit to leave the terminal, the system just sat there doing nothing.
    By the way, while I sit there staring at the terminal, or just staring at the grey screen, the fan on the G5 starts to power up, getting louder, and louder and louder and louder over a several minutes until it sounds like a jet engine!!
    I don't have a clue what this file permissions has done, but it seems to have turned my G5 into scrap metal.

    Thanks KJK. I tried entering those commands in single user mode but the reboot just hung. Repairing file permissions would have taken another 4 hours and unfortunately I'm dumb enough to run my business on a Mac so I had to reinstall the operating system for speed. Needless to say even that caused problems because the install didn't give me any option to back up so I have lost everything on that drive. I'm learning that with the Mac, before you hit any button, you have to do about 3 hours research on the internet to find out what the consequences of it will be.
    Nerowolfe, I have to disagree. We are not all Mac techies. And this problem I have encountered is not as obvious as it may appear. I have found hundreds of postings on the same problem on the internet. If Apple aren't able to create one system alert box that will let you know the consequences of changing permissions then they can't care that much about their customers. After this, I will be networking PCs and getting rid of the Mac, because networking macs is the most ridiculous and problematic I have ever seen.
    The reason I ended up in this situation in the first place is because the Mac refused to allow access to another user to individual files even though the folder itself was set to grant access. Even a 4 year old would assume that if you grant a user access to a folder then that means they have automatic access to everything in it! And I did look on the internet to find why it wasn't and the answer was to tick the "includes" box which was disastorous.
    So I am now left with 2 macs that refuse to network because Apple don't have a clue how to instruct non-technical minded users on how to set permissions. I have yet to find a way of allowing another user on another mac to have access to all of my (non-system) files without turning my G5 into a slab of worthless junk.
    Somehow, I don't think even reinstalling the OS is going to solve the problem, because this is Apple we are talking about. So no doubt setting the file permissions on my main drive has probably caused some other obscure Unix code to shut me out of all my external drives the moment I plug them in.

  • OCR and Votinging Disk File Permissions for NFS 2 node RAC cluster

    This is a fresh reinstall of Oracle 11gR2 Clusterware on Red Hat Enterprise Linux 64bit and I'm using NFS as my shared storage.
    I've create three file systems /ocrVote01 /ocrVote02 and /ocrVote03 as NFS share and exported them to two nodes that will use them as shared OCR and Voting Disk. Currently I'm getting errors when I run root.sh
    I've done the following:
    chown rac:dba -R /ocrVote01 /ocrVote02 /ocrVote03
    It appears that the root.sh script is trying to create a directory /ocrVote01/storage and getting permissions denied.
    Any idea why Root can not create this directory?
    root.sh is also getting error permission denied at /u01/gridinfra/11.2.0/GI/crs/install/crsconfiglib.pm at line 4478
    Any Ideas on what file permissions should be set for /ocrVote01 /ocrVote02 and /ocrVote03 ?
    Thanks
    32352 close(3) = 0
    32352 write(2, "mkdir /ocrVote01/storage/: Permi"..., 112) = 112
    | 00000 6d 6b 64 69 72 20 2f 6f 63 72 56 6f 74 65 30 31 **mkdir /o crVote01** |
    | 00010 2f 73 74 6f 72 61 67 65 2f 3a 20 50 65 72 6d 69 /storage /: Permi |
    | 00020 73 73 69 6f 6e 20 64 65 6e 69 65 64 20 61 74 20 ssion de nied at |
    | 00030 2f 75 30 31 2f 67 72 69 64 69 6e 66 72 61 2f 31 /u01/gri dinfra/1 |
    | 00040 31 2e 32 2e 30 2f 47 49 2f 63 72 73 2f 69 6e 73 1.2.0/GI /crs/ins |
    | 00050 74 61 6c 6c 2f 63 72 73 63 6f 6e 66 69 67 5f 6c tall/crs config_l |
    | 00060 69 62 2e 70 6d 20 6c 69 6e 65 20 34 34 37 38 0a ib.pm li ne 4478. |
    32352 exit_group(25) = ?

    After reading OTN feedback, which is very much appreciated. I decided to look deeper into my NFS configuration and found that the /etc/exports had the incorrect configuration for shared disk where in root can make appropriate changes to voting disk and crs files. The correct configuration for /etc/fstab using NFS for shared storage for voting disk and CRS:
    192.168.1.21:/ocrVote01 /ocrVote01 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2
    192.168.1.21:/ocrVote02 /ocrVote02 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2
    192.168.1.21:/ocrVote03 /ocrVote03 nfs rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,timeo=600,actimeo=0 1 2

  • Startup Permissions & File Permissions

    Recently, something went wrong within my computer. I'm not sure what it was, but a lot of the file permissions got screwed up. I can no longer use VMware Fusion, as it claims that it does not have the rights to run the program and to access all directories it uses for files, and so on. Also, at startup, I get a whole flood of warning messages saying that startup items were omitted due to lack of correct permissions. Is there some way to just set all file permissions back to default to end this misery?
    I have already spent two days researching, and I'm wondering if someone has found a way to solve this.
    Keep this in mind: Most people will say, "Reinstall your OS and all your programs." Here is my problem: I purchased this computer legally with a huge bundle of software, including CS5 and Final Cut Studio. They are both legal, but unfortunately, I don't have the installation stuff for them. So, does anyone have any suggestions?
    I don't want to re-install my OS - that would hurt everything I have.
    My computer specs, because someone is bound to ask for them:
    Intel Core i5
    8GB RAM
    512MB VRam
    MacOSX Snow Leopard (10.6, I believe)
    In dire need of good help! Thanks, I'm glad I found this community. If this question has already been answered, please link me the page. I couldn't find it.
    Colin

    Here is something else that may help you: I tried using the Disk Utility to repair the permissions, but it simply does this every time I tell it to repair the permissions:
    Repairing permissions for “Macintosh HD”
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Italian.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Repaired "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/Italian.lproj/UIAgent.nib".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jconsole.jar ", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jconsole.jar ".
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib", should be 95, user is 0.
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib".
    User differs on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries", should be 95, user is 0.
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Home/lib/security/cacerts", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Home/lib/security/cacerts".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/deploy.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/libdeploy.jnilib", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/Deploy.bundle/ Contents/Resources/Java/libdeploy.jnilib".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/deploy.jar", should be -rw-r--r-- , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/deploy.jar".
    Permissions differ on "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/libdeploy.jnilib", should be -rwxr-xr-x , they are lrwxr-xr-x .
    Repaired "System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Resources/JavaPlugin Cocoa.bundle/Contents/Resources/Java/libdeploy.jnilib".
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/English.lproj/RemoteDesktopMenu.ni b", should be drwxr-xr-x , they are -rwxr-xr-x .
    Repaired "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/Resources/English.lproj/RemoteDesktopMenu.ni b".
    Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.
    Permissions differ on "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Repaired "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/Rem ote Desktop Message.app/Contents/Resources/English.lproj/UIAgent.nib".
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Repaired "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreen.app/Contents/Resources/English.lproj/MainMenu.nib".
    Permissions differ on "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/English.lproj/MainMenu.nib", should be drwxr-xr-x , they are -rwxr-xr-x .
    Repaired "System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Contents/Su pport/LockScreenLeopard386.app/Contents/Resources/English.lproj/MainMenu.nib".
    Permissions repair complete
    And here is terminal after the repair, including every line created since the beginning of the repair.
    I hope this will act as another clue, and I really hope this doesn increase the headache of the situation at hand.

  • -bash: sqlplus: command not found / Oracle file permissons

    Hi,
    I am running Oracle EE 10.2.0.1.0, on a RHEL 4-U2 server.
    When I try to use sqlplus from a non dba account I get the following error:
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    -bash: sqlplus: command not foundAll my environment variables are set and $ORACLE_HOME/bin has been added to the PATH.
    The problem seems to be that the file permissions of the oracle flexible architecture are wrong:
    [oracle@orclserv 10.2.0]$ pwd
    /u01/app/oracle/product/10.2.0
    [oracle@orclserv 10.2.0]$ ls -l
    totaal 8
    drwx--x---  56 oracle oinstall 4096 dec 12 14:15 db_1
    drwxr-x---  46 oracle oinstall 4096 dec 12 14:14 htmldbThe permission of the db_1 directory is to strict (should be at least chmod 711 I think)
    On my other test server (DB version 10.1) the permissions are:
    [oracle@locserv 10.1.0]$ pwd
    /u01/app/oracle/product/10.1.0
    [oracle@locserv 10.1.0]$ ls -l
    total 4
    drwxr-xr-x  53 oracle oinstall 4096 Oct 12 02:54 db1So I have tried to chmod the directories to at least 711 up to the sqlplus binary, but when I try to execute sqlplus after that I get the following error:
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directorySo this doesn't seem to be an option. My biggest concern is why are the file permissons wrong after installation?
    Before installing the oracle software umask 022 was added to the .bash_profile of the oracle user (used to install the software)
    Has anyone experienced similar problems?
    Does anyone knows how to solve this?
    Thank You.
    Pieter

    Ivan,
    Thanks for your reply.
    I have changed the file permissions of +- 5 files in the lib directory, every time that I changed the permission of 1 file, I got an error for another one.
    Now I am getting the following error
    [pemarten@orclserv ~]$ sqlplus pemarten/mypassword
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properlyAccording to oerr there are still lib files with wrong permissions...
    What I would like to know is :
    1) Are the file permissions changed in 10.2 (only DBA's can use sqlplus on the database server) ? If not I probably did something wrong and I will do a reinstall
    2) Can anyone who has version 10.2 installed post an ls -l of his $ORACLE_HOME directory please, so I can compare the file permissions ?
    Thank You,
    Pieter

  • File permissions when copied from server

    When a user connects to a share and copies items to their own local desktop, should the permissions on the files stick with them once copied, or should the file permissions be inherited from the location they were copied to?
    Server: OS X Server 10.5.x
    Client: OS X 10.5.x

    Try this you say you are not using ACL's
    Good but wait for it
    Enable ACL to the disk, Do not set ACL permissions
    See what happens

  • Adobe 8 - Unexpected Corrupt or incorrect file type warning when viewing a PDF file from the Web

    Hi,
    On downloading a PDF file from my web site using Adobe 8 on the client machine I expect the file to open automatically however I receive encounter the "File Download" dialog. It has the following warning message: "The file you are downloading cannot be opened by the default program. It is either corrupted or it has an incorrect file type. As a security precaution, it is recommended that you cancel the download."
    This issue did not occur within previously tested versions of Adobe Reader (e.g. Version 5.1).
    On investigating the issue I discovered the factor that results in Adobe 8 failing to open the file automatically is the Content-Type = "application/pdf; Charset=utf-8". However, if I intercept the response and alter the Content-Type to contain only "application/pdf;" the issue on Adobe 8 does not occur.
    I have even tested when the Content-Type contains an empty Charset (i.e. "application/pdf; Charset=") but this issue still occurs. In addition setting the Charset to other encodings (e.g. "ISO-LATIN-7", "iso-8859-1") the issue occurs.
    QUESTION(s):
    1. Why is it necessary for Adobe 8 when opening PDF files from the web to expect no Charset within the Content-Type?
    2. If this was not an issue within previous versions of Adobe surly this is a bug?
    Since I cannot ensure that the Response's Content-Type does not contain a Charset at all please can someone suggest either a work-around or more importantly a solution to the issue?
    Please Note:-
    1. Within Adobe, Edit -> Preferences -> Internet option it's compulsory for our users to have "Display PDF in browser" ticked!
    2. We cannot prevent a Charset from being present within the Content-Type of the response sent to the client, hence this issue.
    Many Thanks in advance,
    Martin.

    Bill,
    This is exactly the same behavior I observed when I rendered a PDF stored in a database through a .NET page. If I chose to save it, it would open fine after the save, but if I chose to open it in the browser without saving it, I would get the error.
    The problem was not with the PDF or Acrobat. It was with the way I was delivering the PDF. Putting the following code before my binarywrite fixed the issue completely:
    Response.ClearHeaders()
    Response.ClearContent()
    Response.ContentType = "application/octet-stream"
    Response.AddHeader("content-disposition", "attachment; filename=" + saveFilename)
    where saveFileName is the name you want to give the PDF.
    You can use 'inline' instead of 'attachment' above if you just want the PDF to open (no option to save first). You can also use 'pdf' instead of 'octet-stream' (not sure the difference).
    The trouble seems to be that .NET puts some info in the header and/or content by default prior to anything your code says to write. If you don't clear this, IE has an issue with it. Other browsers seem to ignore it.
    Bottomline is that this is an issue the website programmer needs to fix and is not something the user can fix by changing some setting(s).
    I hope this helps.

  • How do I stop DW CS6 randomly changing file permissions via FTP?

    How do I stop Dreamweaver CS6 12.0.1.5842 randomly changing file permissions when it uploads files to my web server via FTP.
    I can no longer trust Dreamweaver to upload websites correctly as it changes permissions on some files which then deny the server access to the file which in turn makes the webpage unreachable/return a 403 error.
    This is driving me insane.
    I'm using an early 2011 Macbook Pro 10.7.5.

    Hi,
    I'm having this problem too. Has Adobe fixed the issue yet? This appears to be an Adobe problem, not all the web hosts out there. CS6 is ramdomly (meaning: not every time) changing permissions on files uploaded with it and is not usable for web work until this problem is fixed by Adobe or a solution is provided. If I wanted to use a separate FTP program I would not have recommended that my employer buy multiple Adobe CS6 product licenses. One of the primary appeals of DW is the integration of FTP into the workflow.
    I am using a destop iMac2.8 GHz Intel Core 2 Duo, 4 gigs of 800 MHz DDR2 SDRAM.
    OSX 10.7.5
    I am using DW Version 12 Build: 5808
    Dreamweaver CS4 that I was using until this new purchase was working just fine. No file permisssion changes. I am being forced to go back to using it until Adobe posts a fix for this.
    I should ask while I'm here: has anyone found a solution for this yet?
    Thanks,
    -c-

  • How can I repair file permissions?

    Greetings!
    Recently I get this warning when I do a File Permissions Repair with help of Distools:
    `Warning: SUID File `System/Library/CoreServices/RemoteManagement/ARDagentApp/Contents/MacOS/ARDage nt` is changed and cannot be repaired.
    I did a few attempts to repair this file permission by hand and also used Onyx to repair this but when my Mac had a restart are the permissions again change to `only read` and do I get the same Warning.
    Shall I just let it be? Or what can I do to change this?
    With kind regards,
    Silvia

    That warning is on this list http://support.apple.com/kb/TS1448 and as per Apple can be safely ignored.
    Stefan

  • Time Capsule file permissions

    Whenever I copy a file to the time capsule (either via finder by moving it there, or via terminal with cp) the file permissions of the file end up with -rwxrwxrwx, independently whether the file was an executable, or whether it only had reading permissions for all or group. Running chmod on the Time Capsule files has no effect.
    This is really silly and makes the Airport Disk sharing useless. This way I will never share files with my friends over the Airport disk because the files loose their property and all files are executables at the end.
    Is there a way to mount or configure the Time Capsule so that it conserves the file permissions?
    I am aware that time capsule cannot handle different users, but at least it should conserve the file permissions. I imagine it could be like a scp or ftp of files to another server. My files on the other server will not have my user name, but at least they conserve the file permissions. A -rw-r-r- file will still be a -rw-r-r- file even if I copy it 10 times from one server to another.
    I would lik to encourage Apple to take this problem seriously and provide an update for this issue. So many other Apple products are just so well integrated in a networking environment, even if it is a heterogeneous one, but not Time Capsule with this flaw.
    Best wishes,
    Reto

    Agree, this is a serious flaw, that makes the device very dangerous to use as a central server for shared files, for example, the family's photograph collection. Since there appears to be no way to write protect anything, how can I ensure the files don't get modified or deleted?
    Here's a nasty case I am seeing:
    We unload a digital camera onto the TC's disk, then someone goes to their iPhoto app, and adds these files to their iPhoto library. Then they do something simple, like rotate the photos, and voila! The master file on the TC has now been modified! Horrible.

  • [solved] Suddenly no permissions on specific USB flash drive

    Hi,
    since yesterday I can't delete or create new files on my primary USB flash drive.
    I then tried my other USB drive and it works without a problem.
    Both are from the same manufacturer and formated with the FAT16 file system. When I check the permissions of the files/folder I see myself as owner with read/write permissions on both drives.
    the error message on the console is:
    rm: cannot remove 'foo': Read-only file system
    I'd really like to give you more information but honestly I don't know where to look since one works and the other suddenly stopped working.
    \edit: Checked dmesg:
    [ 769.912866] FAT-fs (sdb1): error, fat_get_cluster: invalid cluster chain (i_pos 123716903)
    [ 769.912871] FAT-fs (sdb1): Filesystem has been set read-only
    Seems to be the problem. Any ideas?
    Thanks in advance!
    Last edited by Barghest (2012-06-20 07:06:48)

    I wasn't aware that FAT filesystems had a concept of file permissions or ownership...
    First of all, reboot if you recently updated your system. Because the linux package (the kernel) was also updated. Then install and use gparted to format the drive.

Maybe you are looking for

  • ABUMN Intercompany Asset Transfer

    Hi All, When doing intercompany asset transfers using transaction ABUMN for few assets investment order is picked up in line items and for few assets it is not getting picked. Client want to know why this is happening and can we avoid it. In both cas

  • Macbook just working...any ideas?

    My Macbook just stopped working. In the evening it was working, but when I woke up the next morning, it was not working. I changed power cords, but it was not the charge. Do you have any ideas what else it could be? I purchased it in 2008. Thanks.

  • Extending inner [nested] classes

    OK I've got a class (A) with a nested class (B). B accesses variables etc. in A and does its own thing, but what I'd like to do is make B abstract and have a number of classes extend it - which is used depends on program arguments. The problem I'm ha

  • User mailboxes have more server-side rule options then shared mailboxes?

    I was hoping to set up some server-side rules to keep a shared mailbox clean.  The goal was to have some rules to move incoming messages to specific folders based off words in the subject.  I opened the shared mailbox in OWA and found the action of m

  • Constraints on collection types

    The Oracle8i "Application Developer's Guide - Fundamentals" on page 18-39 states: "Oracle does not constraints and defaults in type specifications. However, you can specify the constraints and defaults when creating tables." It continues with an exam