ACL with password over ride?

I'm using ACL to a Folder I call Master Images, it is set up to allow anyone to add images and open the images, but they are prevented from deleting them. But there are occations when users do need to be able to alter these images. My intial soloution was to set up a user that did have permission to delete, this works but in practice no one uses it cos it interrupts their work to log out and in the out and back in.
Ideally I'd like a window to pop up and let the user enter a password to authorize the delete, but with ACL all the user see is a message saying you don;t have permissions, any other ways round this. it is important the files are not easy to accidently delete.
Maybe its possible to write a applescript that would take on extra permissions to delete a file?

I slightly modified the script because although it worked it gave an error message when used on a network home, so I changed it to:
set the_path to "Volumes/RAID/test/Master Images/"
set the_string to POSIX file the_path as alias
tell application "Finder"
set the_names to (name of items of folder the_string)
end tell
set the_item to item 1 of (choose from list the_names)
set the_path to "'" & the_path & the_item & "'"
do shell script "rm " & the_path with administrator privileges
I'd like to be able to just save the App in a folder and have it automatically recongnise the folder it is in, rather than having to change the first line to the path of the folder manually, any pointers?

Similar Messages

  • I tried to manually clear my Time Machine back up drive (a La Cie). But now the Trash is filled with files (over 130,000) and it doesn't seem to want to trash them - how do I get rid of them now in a quicker way?

    I tried to manually clear my Time Machine back up drive (a La Cie) of some of the older backups. But now the Trash is filled with files (over 130,000) and it doesn't seem to want to trash them - it's taking forever!! how do I get rid of them now in a quicker way?

    dear Sue
    i've tried the alt solution to empty trash but it does not work
    I still got the -8003 error
    for emptying time machine backups that i foolishly put in the trash
    i've also tried this solution using terminal and it did not work either
    http://www.imore.com/how-force-empty-trash-your-mac-using-terminal
    any help you might offer would be greatly appreciated
    i am using a 24 inch iMac
    OSX 10.6.8
    Message was edited by: summer_laughter

  • Over-ride concurrent prog noprint option with printer used in CheckPrinting

    I would need to give a little bit of back ground on the Check printing process that we follow to explain my issue.
    Check printing is done by 2 departments - AP and Treasury. AP selects invoices and runs the payments process while Treasury prints the check and confirms the payment.
    Now the issue is when AP submits the payment process, the 'Format Payment Instructions' request gets submitted. Now the users in our AP department have their printer profile set to a default printer and copies set to 1. So for every concurrent request that they submit, the output is printed to this default printer. This has been working fine so far and also works for other requests submitted by the PPR. But the 'Format Payment Instructions' request has the check file in the output which gets printed in the printer from their profile option.
    If the printer option is unchecked or default printer is set to noprint in the concurrent program definition of 'Format Payment Instructions' program, the check does not print at all. Even when the treasury submits the check for printing by selecting the printer. It does not work.
    Is there anyway we could get the printing of checks by Treasury over ride the concurrent program definition or supress printing of checks by the 'Format Payment Instructions' program while being submitted by AP responsibility.
    Any ideas/help on this would be great as we are going live with the upgrade now and would really need to address this issue.
    Thanks!
    Ramya

    Hi TJ,
    you are having definetely other issues, than the ones that might be caused by clrpfm of the tables above ...
    But, based on that data, I do not know which ones ;-(
    There are dynpro tables like dynpload or d3456t or so not proper ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.net - http://www.4soi.de - http://www.easymarketplace.de

  • I have an early MiniMac with OS X 10.4.11.  Can I get a free OS upgrade and which version should I choose?  Do I just download and over ride the current OS system or what?

    I have an early MiniMac with OS X 10.4.11.  Can I get a free OS upgrade and which version should I choose?  Do I just download and over ride the current OS system or what?

    First what model Mini do you have? That will determine how high y can go.
    How to identify Mac mini models
    In any event you will have to pay

  • How to unlock ipad with voice over?I even entered my correct password byt the voice over kept on saying it's wrong? 0409 is my password how come its wrong.. and the voice over kept on saying zero has no value?

    how to unlock ipad with voice over and password?  i already entered my correct password the voice over kept on saying its wrong..my password is 0409.. and the voive over says"zero" has no value?

    Turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • HT3867 When traveling with my i pad with Verizon 3G network, can I over ride a wi fi service that charges a fee when I'm paying verizon for my wi fi service. The fee is added to my hotel bill.

    I'm new at this. Please bear with me. Can I over ride a wi fi location when traveling to use my default Verizon wi fi 3G network that I am paying for each month.
    When I stay at the Encore Wynn Resort in Las Vegas there is a charge for daily use of their wi fi service. I'm discourged to pay for the wi fi service twice.

    You are not paying Verizon for WiFi. You're paying them for 3G cellular. If you don't want to use WiFi, turn it off (Settings>WiFi>Off) and just use the 3G.

  • Can I over-ride the default setting in Organizer to allow sorting photos by filename ?

    I am converting slides from the 1970's and 80's to digital files and using PSE 8 to Organize them but it is important to me that they stay in the order of the file name I give them and NOT "Date: newest first or last" because it would seem that PSE, in the absence of metafile information, uses the date and time I uploaded the file to the Organizer as the "Date:".  ACDSee has a much more sensible arrangement in giving me full control of how my photos are sorted.  I am being driven to using ACDSee as the organizer and PSE as the photo editor, a not very convenient arrangement.  So my question is, "Can I over-ride the default setting in Organizer to allow sorting photos by filename ?"

    The type of file system that you're trying to set up, is actually done better by creating you own file heirarchy in Windows, and then viewing by import batch.  For example; you might create a top level folder "My Slide Scans", then perhaps, "My son John". So, the scans of john all go in the same folder, you import the folder in one batch, and you're where you want to be.
    That said, PSE will fight you at every turn to do this, since with the scanner hooked up with PSE, PSE is going to want to store your photos in "scanned photos" and import them as you scan them.
    I woud suggest this.  After the scan and import, use PSE to move the photos to their final destination folder, say " Hawaii 1994", and create a tag of the same name". Then when you're done scanning photos of this event, use the tag to view all the scans at once. Then, delete all the photos from the organizer. (Yeah, sounds radical I know). Take heart! All you've gotta do then is to reimport the whole folder. All the same name photos will be in one import batch. And with all the photos of any given topic in one folder, you'll be able to also use Windows Explorer in any number of modes to view the photos outside PSE.
    Keep in mind you can rename batchs of photos by selecting them, or by import batch or even tag, then "Ctrl. > Shift > N" will bring up the name change dialog box.
    This technique is quite contensious, but, it makes a whole lot more sense than storing all your photos in the "My Photos" folder on the "C:/" drive where any viral or malware hiccup might cause the necessity of a reformat, which could cause the loss of years of work.
    If a name search is a priority, that would be "Ctrl ."Shift" > "K" then type in whatever your heart desires.
    Caution: Before attempting a delete/ reimport manuver, Alway, always, write the tag and file info to the photo. "File" >"Write Tag and Properties Info to File".
    I always am quite adamantine about suggesting that you do NOT use the same physical HDD that contains Windows to store your photos, that's just asking for trouble. HDDs are quite cheap nowadays, and they're worth every penny in piece of mind. Plus to use a storage ("Volume") drive, you have to create your own file heirarchy anyway, so that leads right back to the beginning of this discussion.

  • Hi, I recently got the iPhone 6, a bit of mucking around with iMessage, over it to be honest. When i message from my macbook air my recipients receive my message from my email. HELP! it never used to do this. its so annoyingly frustrating.

    Hi, I recently got the iPhone 6, a bit of mucking around with iMessage, over it to be honest. When i message from my macbook air my recipients receive my message from my email. HELP! it never used to do this. its so annoyingly frustrating.

    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 this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in 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(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • Is SSH safer or more vulnerable with password auth?

    I've been having a fight with the university IT people about SSH being unsafe because of the possibility of a brute-force password attack. Of course (as I explain to them) there are myriad ways to thwart this, some of which I had already taken before the fight began (only allow a short time to connect successfully, for example). (Although, I haven't been able to figure out if SSH can simply decide to refuse a connection after a certain number of failed passwords, but that's another issue..). On the other hand, I have seen a few sites in my SSH googling that hint that the RSA key authentication is less secure than password authentication.
    So, my question I would like to submit for discussion is this: Is a passwordless RSA key authentication more or less secure than password authentication, and why? Or, if you would rather, under what circumstances are each method more vulnerable?

    I think it really depends on the attack vector you are looking at.
    Assuming mutually exclusive for the sake of this discussion (either key-based auth with password login disabled, or password login and key based auth disabled). A password-less ssh key is likely more vulnerable to an endpoint exploit -- as if an attacker has your sshkey without a password, he has access. Password-over-ssh is likely more vulnerable to a server-side exploit -- opens the password-guess vector, and if you aren't paying attention to the 'fingerprint doesn't match' message and someone hijacks your dns, you could attempt to login to a compromised system, thus giving away your password. Key-based auth would fail if they did not have your public key on the compromised server (you would still see the fingerprint difference message though).
    You can do things to increase the security of the above vectors, from using a passphrase on your ssh-key and using ssh-agent (so you only have to auth once per session and it simply 'unlocks' your key, and doesn't leave it laying around open)..to using something like knockd or fail2ban on the server side.
    Personally, I use a passphrase protected ssh key (along with ssh-agent), and disable interactive (password) authentication on my boxes anytime they are exposed to a public network (along with adding root to the denyusers ssh list).
    Last edited by cactus (2009-07-08 01:52:11)

  • How do I over-ride the DETERMING GAPLESS PLAYBACK process

    I am so frustrated! Everytime I put music on my 30G iPod, iTunes begins this lengthy process of processing EVERY SONG in my library and determining it's gapless playback. Is there a way that I can over-ride this painstaking process? I have gone to preferences and dealt with the crossfade options, but nothing will stop it. It makes my computer run terribly slow and when I opt to quit iTunes it tells me "your iPod is updating, if you quit now the updates will not be saved" and the process will start all over.
    Desperate.
    Mac
    Mac
    Mac    

    If you just let it finish, it won't do it again. Depending on the size of your library, it may take a few hours, or longer.

  • How can I over-ride the regional code?

    I buy DVD from different countries.
    In my Microsoft I could over-ride the regional code.
    Question: What can I do with my Probook to play DVDs from variious regional codes?
    Is there a software avaliable or what else can I do?
    Volker

    "Is there a software avaliable or what else can I do?"
    There is no method by which an MBP can have the regional code reset.  There are external players that do not utilize the regional coding, and allow all optical media to be used.  Google is your friend.

  • HOW DO I GET RID OF THIS MESSAGE - ADD SECURITY EXCEPTION you are about to over ride how Thunderbird identifies this site. Location pop.shaw.ca.110 no e-mail

    I KEEP GETTING A BOX WITH THIS MESSAGE - ADD SECURITY EXCEPTION
    you are about to over ride how Thunderbird identifies this site
    LOCATION: pop.shaw.ca.110
    then it asks for a security certificate
    I DO NOT KNOW HOW TO FIX OR BETTER YET GET RID OF THIS MESSAGE

    You're supposed to take a screenshot. The link has instructions about how to do that.
    Then attach the resulting image to your post by using the 'Browse' button right above the 'Post Reply' button.

  • How do I over ride an auto spelling correct?  Somehow I need to add the word into the system.

    I am trying to type a word into an email and it continuously over rides the word with other suggestions, even if I hit the period button and not the space button.  How do I add this word to my IPad?

    You are most welcome

  • Creating users in Microsoft Active Directory 2000/2003 with password.

    Our BSP application is using LDAP_CREATE function module to create users in Microsoft AD 2000 and 2003. But the users are not created along with passwords. without passwords the users are created in disabled mode.
    We tried using the SAP provided function modules under function group SLDAP to create the entries. We are able to create accounts on MSADS but only without the password. We find that MSADS requires the password to be passed/sent as a bytecode array (SAP equivalent Xstring/Rawstring ?) under the attribute unicodePwd, which we did using the fn. module LDAP_CREATE.
    But the server returns an error code LDAPRC053 which translates to "Unable to execute operation on the server".
    We generate the password string and convert the same into an xstring using SCMS_TEXT_TO_XSTRING function module.
    We are not sure what we are missing, but the account does not get created with the password at all. Would appreciate if you can help.
    We do have a backup solution of creating the users offline, but I want persue in above mentioned direction. Anybody has resolved this issue? Please let me know.
    Thanks in advance.

    I'm suspecting it has something to do with calling the function over an open connection versus a secure connection, SSL on port 636.
    Any comments ?

  • Decompress ZIP file with Password

    Hi all,
    Does anybody know how to decompress a ZIP file with password protection?
    I have a decompress code, but I don't know how to insert the pass.
    Any solution?
    Regards

    I'm running out of suggestions over here.
    Your exact command line yields this result:
    zip warning: name not matched: in.txt
    zip error: Nothing to do! (out.zip)
    Well, it should, as I don't have an in.txt. Handing it an existing file, I get this:
    zip -P pass out.zip result.txt
      adding: result.txt (deflated 7%)
    .. and opening in the Finder correctly prompts me:
    so there must be something wrong with your system.
    Very Long Shot: What version do you get when you type this? (I can't imagine this is the actual problem, but you never know.)
    zip --version
    Mine is
    Copyright (c) 1990-2008 Info-ZIP - Type 'zip "-L"' for software license.
    This is Zip 3.0 (July 5th 2008), by Info-ZIP.
    Currently maintained by E. Gordon.  Please send bug reports to
    the authors using the web page at www.info-zip.org; see README for details.
    Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip,
    as of above date; see http://www.info-zip.org/ for other sites.
    Compiled with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) for Unix (Mac OS X) on May 25 2011.

Maybe you are looking for