[CUBE] Permissions and OSX

Eagle eagle243 at mac.com
Wed Feb 4 14:26:07 PST 2004


On Feb 4, 2004, at 17:13, Rod Clifford wrote:
> This is aimed for the unix (read: smart) members of the list:
> Is there a way in terminal to globally change permissions to folders 
> containing files copied from another machine?
>
> We frequently swap files between machines, permissions for the files 
> have been set by machine A (original owner)
> and cannot be changed by machine B (new owner who copied the files 
> onto his machine) "you do not have permission to modify
> this file".
> Changing permissions on the folder for the files is pretty hit and 
> miss. Individual files are usually owned by "nobody" with
> guests having read only access.
>
> help
>
> Rod

Rod:

Read the "find" manpage.  You probably want something like this:

	find /full/path/to/copied/files -user foo -print -exec chown bar {} \;

Eagle



More information about the Cube mailing list