• 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
Re: Recursive lock/unlock...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recursive lock/unlock...


  • Subject: Re: Recursive lock/unlock...
  • From: Adam Wuellner <email@hidden>
  • Date: Wed, 13 Jul 2005 14:34:17 -0500

On 7/10/05, Stefan Eriksson <email@hidden> wrote:
> 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
<...>
>     set scripttorun to "chflags -R uchg " & toppmapp
<...>

A few minutes w/ Google turned up this:
<URL:http://www.macosxhints.com/comment.php?mode=display&sid=20010610132749532&title=If+you+have+root+enabled+...&pid=0>
  the relevant bit being:
"If you're mounting SMB volumes from OSX and can't empty the trash,
the tricks here won't help - you just get "Operation not supported"
when trying to use chflags."

Which suggests to me that you're wasting your time trying to use
chflags if you're using SMB to access the volume.  (Documentation by
circumstantial evidence.)

Why are you using SMB anyway?  If it's to support Windows clients,
clearly your script is not meant to be run from those, so perhaps you
could provide AFP access for the machine that needs to be able to run
the script, and SMB for others.
 _______________________________________________
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

References: 
 >Recursive lock/unlock... (From: Stefan Eriksson <email@hidden>)

  • Prev by Date: Mount volume fails after update to Tiger Server
  • Next by Date: Re: osacompile decompile
  • Previous by thread: Recursive lock/unlock...
  • Next by thread: if not (exists folder .......
  • Index(es):
    • Date
    • Thread