• 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: AS to Change Owner of files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS to Change Owner of files


  • Subject: Re: AS to Change Owner of files
  • From: Thierry Lavallée <email@hidden>
  • Date: Sun, 19 Jan 2003 19:31:50 -0500

Michael Grant, 19/01/03 18:15 :

> Not sure without looking whether you can use Finder for this, but you can
> use 'do shell script' to call chmod (on which see man chmod for details).
> You can store an administrator password in a script, but it's probably not a
> good idea since it sorta defeats the purpose of having password security in
> the first place.

Thanks for your reply Michael,
I have no terminal/unix knowledge. Can you lead to a starting point?
First touch with X here. :-)

But is the security at risk if the script is to be used on a specific
directory and contained files and compiled? Could the stored password be
retrieved???Could you give an example of such script?

> Can you not just use /Users/Shared?
User1 putting a file in /Users/Shared... User2 cannot delete the file since
the owner is User1. I need User2 and all others to be able to delete the
files in this particular directory. I find /Users/Shared not to be a REAL
shared area. Why doesn't elements dropped in there are modified like when it
is dropped in a drop box (the drop box changed the owner so that the drop
box owner ca do whatever they want with the file).

Thanks again!
--
Thierry
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: AS to Change Owner of files
      • From: Michael Grant <email@hidden>
References: 
 >Re: AS to Change Owner of files (From: Michael Grant <email@hidden>)

  • Prev by Date: Re: Input for Upcoming Book
  • Next by Date: Re: Shell scripts
  • Previous by thread: Re: AS to Change Owner of files
  • Next by thread: Re: AS to Change Owner of files
  • Index(es):
    • Date
    • Thread