• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Recursive lock/unlock...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recursive lock/unlock...


  • Subject: Recursive lock/unlock...
  • From: Stefan Eriksson <email@hidden>
  • Date: Mon, 11 Jul 2005 00:12:37 +0200

Hello again !

Following code works just fine when ran locally on my machine but when creating a SMB share of the same folder and then trying to apply it

property ranbefore : false
property topfolder : 0

if ranbefore = false then

    

    set choosefolder to choose folder with prompt "Please select topfolder?"

    

    set toppmapp to POSIX path of choosefolder

    

    set ranbefore to true

    

else

    

    set scripttorun to "chflags -R uchg " & toppmapp

    

    with timeout of 600 seconds

        

        do shell script scripttorun

        

    end timeout

    

end if

When selecting the "local" path "/Volumes/Slask/Toppmapp/ it works just like fine, locks down files/folders amazingly fast but when choosing the SMB mounted path "SMB://localhost/TEST" (test is the smbsharename), points to "/Volumes/Slask/Toppmapp/"  it seems to do something but the files/folders remain unlocked... is this due to the SMB thing or am i missing something here...!?

Best regards, Stefan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Recursive lock/unlock...
      • From: Adam Wuellner <email@hidden>
  • Prev by Date: Scripting cocoa classes
  • Next by Date: Re: How do you get iCal to run an Applescript
  • Previous by thread: Re: Scripting cocoa classes
  • Next by thread: Re: Recursive lock/unlock...
  • Index(es):
    • Date
    • Thread