Files locks and permissions

Hi,
I've just started a new job and taken over a Mac Pro. I've been given a new login as an admin but i've got problems saving files etc. everytime i come to a folder i haven't touched i only have read permissions so i can't re-save files, or save new ones in these folders. So at the moment i'm having to keep going to 'get info' clicking the lock at the bottom, entering the password. and allowing admin to Read and Write so that i can save files.
To be more specific it says this in the 'sharing and permissions':
Edit 1 (not me) - Read and Write
admin (is me including) - read only
everyone - Ready only
I'm getting slightly annoyed with this, is there someway to give me full read and write access straight away or am i going to be click the blooming lock icon forever?
Thanks
Mark
Message was edited by: mglenister
Message was edited by: mglenister

First move any important data/files from the old user's home folder to /Users/Shared. Then make a new user account for yourself in System Preferences -> Accounts. You will have to get your system administrator to do this for you if you don't know the admin password. Log in and use the new, fresh account. You will have read-only access to the files in /Users/Shared. Do a Command-D on the files to make new copies of them, with correct permissions so you can edit them.
Reinstalling everything is still important; make sure you do it at the earliest opportunity.

Similar Messages

  • Unable to download from AppStore, updates,etc.Messages 'the installer is damaged' to 'there might be a problem with file ownership and permissions.' I am the owner and only user of a new MBP. What could be going on?

    Is anyone having the same type of problems I'm having with Lion. I have a new MacBook Pro, received 7 weeks ago, preinstalled with Leopard 10.6.7. I didn't migrate anything from my old iMac, wanted a clean install from the Apple Store. While there, I asked for the upgrade to Lion 10.7, however their system was down.
    I  installed it myself, wirelessly about a week later, and Apple emailed me a receipt. Now, I've had to call support directly last week when I lost Mail, Address Book, was unable to open Preview or iTunes, among other problems. Seemed fixed after a session that baffled even the store tech.  Now I am unable to download or install the recent Mac updates for Lion, from the App Store, could not install Adobe Reader, etc. Messages range from 'A network error has occured - Check your Internet connection and try again' to 'The Installer is damaged and cannot open the package. There may be a problem with file ownership or permissions.'  All fail and I'll probably have to call Apple again. I am frustrated beyond words.  Logs 'Install's runner tool is not properly configured as a setuid tool', domain errors, 'attempt to write a readonly database, and on and on. I have barely done a thing on this computer except search online for help with these problems. Safari gives me a 'You are not connected to the internet' too often. Diagnostics disagrees. I do see wi-fi problems in the forum. Disk and permissions were fine at the beginning of the earlier problems, checked first by support tech. I'm not sure if support tech even knew. I was just happy they were fixed. Anyone have these download and/or install problems after a 'clean bill of health' so to speak, only a week ago?

    Let's try the following user tip with that one:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • [Acrobat X Pro] File locks and page counts when printing

    Hi,
    We have two users on Acrobat X Pro Win 7 X32.
    On both systems they have the following issues.
    1) If they were to print only page 1 for example, they can set a page count of 5 copies and it would be fine. If later on they were to print page 10 and they would also like 5 copies, the page count has reverted to the default 1 copy. It doesn't remember the selection of 5 copies from the previous print.
    Is this a bug?
    2) File locks occur on all files even if they are specifically closed. The file lock is only removed once they close Acrobat down entirely. This has cause alot of problems. Has Adobe acknowledged this as a fault yet?
    Thanks.

    Make sure the Preview panel in Windows Explorer is disabled.

  • File Locks and SMB shares with ML

    I've been doing a lot of research on SMB and the way it locks files during access. I've made a lot of ground work in my research but could use a little further assistance from this support community.
    The symptom is simple to explain: Users are occasionally being prompt for a username and password when attempting to rename or move files and folders.
    After doing some research on this topic, I have discovered that there is a direct relationship to files being open on the server at the time the user is attempting to rename or move the folder. The following thread, albiet old, appears to have nailed the problem on the head http://arstechnica.com/civis/viewtopic.php?p=24558131. In particular, there appears to be file locking happening when preview is turned on through the finder. I've had all users remove preview from their Macs and this appears to have helped reduce the occurances of the password prompt, but has not completly solved the problem. This is also a work around, not a fix.
    I've been using a series of command to help me trace the problem including openfile.exe on the Windows 2012 Storage Server (sharing the files via smb only) to discover who has what files open on the server, and the lsof command on the client workstations to discover what process has the file open. So far, the finder is consistently the only thing with the file open... even with the finder preview turned off. I've also found that the "open file" is simply the fact that the offending users Mac has a finder window with just the folder open (none of the files within the folder or previews open).
    Is the real solution to simply close all finder windows when you're done working in a folder, or is there more that anyone can think of to help me find out exactly what is holding the file lock? Is this a known bug in the SMB implementation of ML? Can we expect to see a fix with Mavericks which will now be using SMB2.0?
    Any help or information anyone can provide would be greatly appreciated. I have a bunch of documentation on this issue and would be happy to share. Please let me know if anyone needs any additional details.

    Hello all - many apologies for my delay in posting here; and Squiggle, thanks for the second-hand nudge. As Stephen said we have been testing a solution concerning a setting in Finder's view options for the last few months, and these seem to have solved the issue in hand.
    Essentially, we found that Finder was holding files open whenever the 'Show Icon Preview' option was set, on any of the four folder views, on any client machine accessing the share. Below is a piece of documentation I wrote up for our Service desk explaining how to diagnose and manually fix this issue on the client:
            - In Finder, open any folder
            - Click on the cog icon and select 'show view options.' Check that, in the dialogue box which appears, the 'Show icon preview' box is not checked. Click the other three Finder views and check it's turned off here too.
            - Click 'Use as Defaults'
    In order to make this change remotely on multiple machines, you will need to change the clients' com.apple.plist files, and set every instance of the <showIconPreview> key to <False>. This is nested within several key / dictionary pairs in com.apple.finder.plist, once under <standardViewOptions> and thrice within <standardViewSettings>. As Stephen has already mentioned, the fact that this key is nestled deep within compound dictionaries seems to render them untouchable by defaults, though I would be very happy to be corrected on this.
    How you push this change out will depend on your management system. We had been using Casper to
    to create a managed preference pertaining to <standardViewOptions> and <standardViewSettings> within com.apple.finder.plist. These contained as values the entire dictionary associated with these keys, with the value for each <showIconPreview> set to false. This was then applied at a User Enforced Level (running every logon after Finder has set up the system defaults).
    As a side note, I have found that certain machines (Such as the 10.8.3 machine I'm working on now) contain a key named <FK_StandardViewSettings>, which I have been unable to ascertain the purpose or origination of. These don't seem to affect the fix, so we've left them alone.
    Irritatingly, Casper has dropped support for custom Managed Preferences in their latest release, so this problem has now resurfaced. I will keep this page updated with any fixes or workarounds I find.
    Hope that helps,
    Josh Smith

  • File Locking and Renaming

    I have multiple processes that scan the same directory for files. Once a process sees a file, I want it to lock ,rename the file and release the lock. I get the file to lock, but I cannot figure out how to rename it. The normal File object renameTo methods don't seem to work once the file is locked.
       File  _file = new  File("c:\\test\\abc123.txt");
       RandomAccessFile _raf = new RandomAccessFile(_file, "rw");
       Channel  _Channel = _raf.getChannel();
       Lock  _fl = _Channel.lock();
       _file.renameTo(new File("c:\\test\\abc123.001"));
       _fl.release();
        _raf.close();Many thanks in advance for help!

    Why don't u use a simple file copy. In this alternative way you will just need to copy the file before locking it:
    import java.io.*;
    import java.nio.channels.*;
    public class FileTest {
      public FileTest() throws FileNotFoundException, IOException {
        File  _file = new  File("c:\\test\\abc123.txt");   
        File _file2 = new File("c:\\test\\abc123.001");
        copyFile(_file,_file2);   
        RandomAccessFile _raf = new RandomAccessFile(_file, "rw");  
        FileChannel  _Channel = _raf.getChannel();  
        FileLock  _fl = _Channel.lock();   
        //_file.renameTo(_file2);  
        _fl.release();
        _raf.close();
      public static boolean copyFile(File source, File target)
        try {
          FileInputStream in = new FileInputStream(source);
          FileOutputStream out = new FileOutputStream(target);
          BufferedInputStream in_buf = new BufferedInputStream(in, 8192);
          BufferedOutputStream out_buf = new BufferedOutputStream(out, 8192);
          byte buf[] = new byte[1024];
          int lens;
          while((lens = in_buf.read(buf)) > 0)
              out_buf.write(buf, 0, lens);
          in_buf.close();
          in.close();
          out_buf.close();     
        catch (Exception ex) {
        ex.printStackTrace();
          return false;
        return true;
      public static void main(String[] args) {
        try {
          FileTest fileTest1 = new FileTest();
        catch (FileNotFoundException ex) {
          ex.printStackTrace();
        catch (IOException ex) {
          ex.printStackTrace();
    }Do you need file lock for another purpose?

  • File locking and shell script

    Hi,
    with Mac OS X is there a file locking system to prevent file to be copyied or move to a folder B before they are completely copyied in folder A ?
    Regards

    The files in folder A are created by a program like
    Pitstop
    My question was : what can happen if a file in folder
    A is not complitely created and the shell script
    attempt to copy it ?
    In general, if the shell script attempts to copy a file before the creator is finished writing to it, the shell script will copy the part of the file that's already present, so the copy will be incomplete. The creating application can prevent that (by writing to a temporary file and changing the name of the file only after it's finished writing, or by making the file readable only after it's done), but that's up to the application.

  • File Locking and LabVIEW

    I am writing a bunch of data to a file from a LabVIEW VI. I am
    using the standard file I/O routines. I would like to view this
    file with another program while LabVIEW is running -- this is
    no problem with programs that open the file for reading only, but
    most programs attempt to open it with write-permissions as well
    which fails under Windows95. Is there a way I can tell LabVIEW
    to relax all locking on the file itself so that I can view it with
    wordpad or others?
    Andrew Berkley
    Department of Physics
    University of Maryland

    In article <[email protected]>,
    Greg McKaskle wrote:
    >> I am writing a bunch of data to a file from a LabVIEW VI. I am
    >> using the standard file I/O routines. I would like to view this
    >> file with another program while LabVIEW is running -- this is
    >> no problem with programs that open the file for reading only, but
    >> most programs attempt to open it with write-permissions as well
    >> which fails under Windows95. Is there a way I can tell LabVIEW
    >> to relax all locking on the file itself so that I can view it with
    >> wordpad or others?
    >
    >In LV you can look at changing the Deny Mode setting on the file
    >Open function. You may also want to use this in conjunction with
    >the Range Locking if you do allow the other a
    pp to modify the file.
    >Both of these are in the File I/O > Advanced Palette, and you will
    >need to turn on the Detailed Diagram Help in the Help window to get
    >more information on the parameters.
    The default deny mode is to allow all other users to read/write the file.
    Somehow it still doesn't work. I open the file with the advanced open VI
    and leave the deny mode unwired (which should allow all other users to access
    the file) and still when I start up wordpad or word it complains that the file
    is in use. Any ideas? The real reason for this is that it would be nice to
    run an ftp server on the machine so I can check the data files from elsewhere
    as labview is running. The FTP server cannot open the files for the same
    reason as word or wordpad, etc.
    Andrew

  • File Server and Permissions

    We are using Coldfusion 8.  Does anyone know a way to set permissions on a file server so my users in my cfapplication are the only people that can access the files in a specific folder on that server?  I ask this because we have a lot of public folders on this server and now we want to add some private folders only accesable via people using the application.

    If what you are asking is "how can I setup a folder on my fileserver so that files that are accessed through my CF application using tags such as CFFILE are the only ones that can access it" then the answer is to 1) Change the login information for the CF services from the local system service to a domain account, being sure to give that account admin privs, 2) on the file server only give access to the domain user that you just created in step 1.
    However, if your CF app is allowing users to access that folder via mechanisms like HREF links (ie, where the account accessing the folder is not the CF account, but the user that is logged into windows running a browser), then you need to put those users in a group and give that group the sole access to the folder.
    Scenario #1 presumes that your CF app is doing some sort of authentication so that it knows who is allowed to use it to get to that folder. 
    -reed

  • AD Credentials, File Sharing and Permissions

    I've created a sharepoint on an Xserve G5 running Mac OS X Server 10.4.5. This sharepoint is to be shared to both Mac and Windows clients using Samba. A local group was created that is comprised mostly of Active Directory users. This local group was given Read&Write access for the share. The users in this group can all mount the share. However, whenever the group users try to delete existing files, or add files to the share they receive an error stating:
    "The operation cannot be completed becaue you do not have sufficient priveleges for some of the items."
    I've verified that the correct users are in the group, that the group has Read&Write access, and that the users can mount the share. I just can't figure out where the permissions would be wrong to give that error. Everything looks right, to me.
    Help?

    I've seen this error message before; these links may be of interest, even though they don't solve your problem:
    A similar posting to which I've replied: http://discussions.apple.com/thread.jspa?threadID=409444&tstart=0
    My original observation of this problem in Mac OS X 10.4.2: http://discussions.apple.com/thread.jspa?messageID=647624
    Your situation may be similar; however, I would also check to be sure that the "ignore permissions/ignore ownership" box is un-checked in the Info window of the volume that houses the share point. Occasionally, I've seen situations in which that has caused the failed copy error.
    --Gerrit

  • File Sharing and Permissions ANNOYING!!!

    I'm trying to share files between my macpro and macbook pro, both running 10.5.2. The files appear to share fine between the 2. I throw a file into the public folder and it pops up on my other mac, even opens fine. But when I go to save it, it says I don't have sufficient privilages. It seems that by default any file that is shared is the property of the sending mac and automatically denies me write privilages on any files I send between my macs. The only way to fix this is copy the files once they reach their destination mac, which is annoying when you're dealing with large files and whole directories full of large files.
    What I want to be able to do is copy a file or folder from, lets say, my macbook pro to my macpro and automatically have full privilages on it, without the need to re-copy it. I even set up a folder outside of the public folder and set that up as a shared folder. That didn't work. When I connect between my macs I do it via direct ethernet and I don't use the guest account.
    I'm a digital graphics artist, so this is **** trying to keep my assets available and up to date on both my machines.
    Oh, and I can't use target disk mode unfortunately (has to do with license servers, floating licenses and lengthy 3d renders).
    thanks for any help on this,
    kvb

    The easiest way is to authenticate as a valid user on each box.
    For your MacBook Pro
    Click on "Connect as..." on the MacPro icon and enter the username and Password of a valid user on the MacPro.
    For your MacPro
    Click on "Connect as..." on the MacBookPro icon and enter the username and Password of a valid user on the MacBookPro.
    That should work, with full access.

  • File Locked and Unable to to Rename?

    Hi,
    I have been doing some work on a Uni Windows computer and copied the file I was working on to a USB. I have opened it on my mac only to find that it shows it has a small silver padlock on the file while open in the finder window. I have tried rename it and cannot but it seems to open just fine. In the "get info" window permission says "Read Only" but alongside the user names and the administrators user name it says "Read and Write." Can anyone help me and explain how I maybe able to unlock it as I need to rename this file?
    Many Thanks
    Matt

    The USB drive is formatted as NTFS. It can be read, but not natively written, on a Mac. If you want to drive to be both readable and writable on both platforms, it should be formatted as FAT32. To do that, you have to back up and erase it.

  • File locking over AFP for GnuPG?

    I'm trying to get Network Home directories working for our company as we have a few hotseat MacMini's and don't want to have local profiles on each. I've got that working as expected, the issue I'm having now is that we use GnuPG quite extensively and I can't get it to work over the network share. After a bit of digging it looks like it need to lock the key files while they're being accessed.
    The error I'm seeing is:
    gpg: lock not made: link() failed: Operation not supported
    gpg: can't lock `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg'
    gpg: DBG: Oops, `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg.lock' is not locked
    gpg: keyblock resource `/Network/Servers/macmini-server.local/Volumes/UserData/Network Users/testuser/.gnupg/secring.gpg': General error
    I know about the 'lock-never' option for GnuPG, but that doesn't work when setting a new key, and isn't the ideal solution.
    Is there an option on the AFP server that needs to be set to enable locking?
    Steve

    I am sure Apple provide a means to do file locking and/or record locking. However your software might need to be written to properly call Apple's APIs to do this. I know Microsoft as an example always (tried) to do this their own way and as a result it pretty much never worked properly with Office for Mac.
    This sort of query is going to be better pursued via Apple's Developer forums.

  • What is the normal file structure and how do I "cut"?

    I just did a clean Yosemite install from a manually backed up external due to HDD issues.  When I backed up the original drive I copied my user folder into a folder named"backup".  When I did the new Yosemite install, I directed it it migrate my documents from that folder.  Now when I click on the standard "documents" folder on the left, I get a sub folder named "backup".  What should I see? My name folder myname/ or the sub folder under that like music/movies/etc.
    also,  how do I "cut" the folders to move them instead of copy?  I tried dragging them but I have 1.8 TB used of a 3 TB drive so I get a messeage there is not enough room to copy.  "Cut" is greed out when I select folders.
    any input appreciated ....

    How did you make the original backup?
    Dragging items in the Finder is not a good way to backup - it can miss may important files and it can skip files (or fail mid process with cryptic errors).
    Also how did you 'migrate' the folders back - did Migration Assistant do it for you or did you manually move the files?
    Finder can 'move' items instead of copying them, but there is an inherent risk in this process if the move fails mid-way through.
    Begin dragging files to another disk, the cursor will show a green plus , hold command & that green plus goes away - this will now move instead of copy. The behaviour varies depending on if you are copying onto another disk or not. press the modifiers to see what the cursor indicates (cmd, alt, will alter the behaviours).
    To see a 'normal home' folder create a new user account in System preferences > Users & groups. Then login as that user.  By default you have the following items in a user account…
    Desktop
    Documents
    Downloads
    Movies
    Music
    Pictures
    Public
    Sites (will not exist on newer installs)
    I suspect it may be simplest to delete the current botched attempt & empty the trash, go back to the original disk & re-copy the items into the correct folders. You will need to be careful though Finder is not a good tool for large file copies, and permissions can get in a mess, ask if you wan't instructions on how to repair the user permissions after the account is back in order.
    Note: Carbon Copy Cloner, SuperDuper! or even Disk Utility are better tools than Finder to use for backing up.

  • Bad File Permissions, Locked Files, Applications and Drives

    I've been running in to a huge problem the last few days and I can't find a solution short of a complete archive and reinstall. The problem started with photoshop CS3; I couldn't open the application because it said that it was locked and to go into the 'get info' panel and change it. Well, it's not locked and nothing I did could change that. Shortly after this, I started getting folders and files that would keep changing their permissions so I wouldn't have access to them any more. I kept getting the "Unknown" user in the 'Get Info' panel of these files and folders. While trying to find a solution to that, I could no longer add files to the Trash without immediately emptying it. I tried the steps from this post but nothing worked:
    http://discussions.apple.com/thread.jspa?threadID=1216618&tstart=0
    After trying all this, All of my drives except my Main Boot Drive locked itself and I can't figure out what's going on. I have never had this many problems happen in the 12+ years of owning a Mac. could someone please help me.

    I went back to 10.4.11. Right before the upgrade to 10.5 I bought a new hard drive and cloned my old system to it and then upgraded. When my machine became completely unusable, I was able to just through in my old drive. I didn't loose that much, but it's still frustrating. I'm still dealing with all my external drives being Locked or the permissions are so messed up that it might as well be locked. I'm gonna be waiting for 10.5.4 before I even think of upgrading again. Worst system upgrade I've EVER had to do.

  • Why am I being told that a JPEG file that I made changes to in Photoshop 6 (CS6) can't be saved?  The message I get says that either the file is locked and I don't have permission to execute this or another program is using this file.

    i recently purchased a 21.5 iMac with Yosemite (10.10.1) and was disappointed to discover that my CS6 programs are not functioning correctly.  I am unable to use the "Save As" command  when making changes to a JPEG file in Photoshop.  The message I get says that either another program is using the file or it is locked and I don't have permission to execute that command.  I'm experiencing a similar problem in Bridge when trying to move an unwanted file to the Trash.  Again, I get a message telling me that i don't have permission to do this.  Lastly, I'm unable to open any Camera Raw files.  Any suggestions?  I had no problems with the Mavericks OS on my old iMac and although it's much slower, I'm tempted to go back to using my old iMac.  At this point, I feel as if I've just wasted $2300+ (tax included). 

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally 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, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in 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 and start typing the name.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. 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 may take several minutes to run, depending on how many files you have. 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, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    resetp
    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 startup 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.

Maybe you are looking for

  • The same Java service in more than one Flex component

    Hello, I'm using Java to do the services for one application, and I want to use the same service in more than one component. I know how can I use in one component but I don't know if I have to declarate again in the other or how can I do. Here a part

  • XML photo Layering

    Does anyone know how to layer photos imported via an external source (XML) with other art elements? The imported XML photos always seem to arrive on top of anything else no matter what layer your XML code keyframe is on.

  • Adding a message to the variable selection screen

    Hi there I have been asked to find a way to add a message to the variable selection screen. It appears that DIVISION needs to be added to the selection screen, as this makes the query run faster. However, they don't actually want the user to enter a

  • CS3 PP and HDV recording/capture

    Good evening and thank you for the assistance as my school ventures into the world of HD!  I really appreciate the insight on this forum and am grateful for your responses! EQUIPMENT DETAIL I do not have the computer specs in front of me but they are

  • Service link in MM and SD

    Hi Gurus, I am chking the scenario where I am working on service, which is link with my MM and SD. Service provider is third party, and I want to bill to client directly. How can I process in this scenario. Rajesh Chalke