[CUBE] Permissions and OSX

kevin at 216websolutions.com kevin at 216websolutions.com
Wed Feb 4 14:45:44 PST 2004


sudo chmod should do it. For the nobody files, sudo chown. If those don't 
work, enable the root account, and su to root and do it then. There are a 
variety of ways to make this even easier. If the files are being 
transferred via ftp, look into changing the user's umask setting, though 
that may have unintended consequences in other settings. Also, the 
command "find . -type -f -perm -600 |xargs chmod 644 can be used to 
change all files with permissions of 600, for example, to 644.

You can learn a lot with the man command. Start with man man, then go to 
man chown, man chmod, and man find.

On 2/4/04, 5:13:19 PM, Rod Clifford <rod at eslickdesign.com> wrote regarding 
[CUBE] Permissions and OSX:


> 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


> ----------
> Check out the Cube email list FAQ
> http://www.themacintoshguy.com/lists/Cube.html

> To unsubscribe, E-mail to: <Cube-off at lists.themacintoshguy.com>
> To switch to the DIGEST mode, E-mail to 
<Cube-digest at lists.themacintoshguy.com>
> Need help from a real person? Try.  
<Cube-request at lists.themacintoshguy.com>

> ----------
> $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your Mac 
ISP
> Serious Mac Internet Solutions From NineWire!   
http://macinternetaccess.com

>  T3Hub  |  3 Port USB Hub weighs less than an ounce!
> Dr. Bott|   <http://www.drbott.com/prod/T3Hub.html>

>    Cyberian   | Support this list when you buy at Outpost.com!
>    Outpost    | http://www.themacintoshguy.com/outpost.shtml

> ADC Extension | Extend the built in cable of your flat panel by 10 ft.
>   Dr. Bott    |    <http://www.drbott.com/prod/ADCExtension.html>



More information about the Cube mailing list