Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-25-2002, 02:00 AM   #1
cinolas
Prospect
 
Join Date: Jan 2002
Posts: 4
Question default privileges, umask and the Finder

I have read many posts in many forums from people like me who wish they could set the default permission/privileges for new folders and files to rwxrw-r-- (give write access to the group).

It makes sense in the context where a home computer is used by two users who don't mind giving each other access to all their files.

Also, when sharing a common iPhoto library. Since iPhoto creates new folders to sort the newly imported pictures, it can be a problem if my girlfriend imports the first pictures of the day from her user account then I try importing more pictures on the same day but from my user account, since the new folder is rwxr--r-- iPhoto actually crashes. Or a common iTunes library... and so on...

Some people mentioned umask as the answer. Now, I'm no *nix guru but I read a bit about umask and, yes it would seem appropriate. Following other peoples instructions, I created ftpd.conf in /etc with the line "umask all 002" which makes new files and folders created by ftp writable by the group. It worked just fine.

For the setup to be complete, I imagine I would have to specify the same umask for afp, smb AND THE FINDER !

For the Finder, I read that one could specify a umask in /etc/rc.common. I added the line "umask 002" and rebooted, didn't work so I tried "umask all 002" and rebooted, didn't work either.

I'm obviously doing something wrong.

So my question would be :

How do I tell the Finder to use read/write for owner AND group (and read only for everyone) as a default for new files and folders?

How do I tell afp and smb to do the same ?

p.s. please don't tell me to change the permissions using the get info box as this only works for existing files and folders.

p.p.s. I din't find any such thing in NetInfo either. It seems to me that's where it should be.

Thank you.
cinolas is offline   Reply With Quote
Old 09-25-2002, 02:15 AM   #2
cinolas
Prospect
 
Join Date: Jan 2002
Posts: 4
Update

Apparently the umask doesn't affect carbon and cocoa applications.

What then ?
cinolas is offline   Reply With Quote
Old 10-23-2002, 09:43 AM   #3
taikahn
Triple-A Player
 
Join Date: Jan 2002
Posts: 153
Help

what version of OS X were you using when the /etc/ftpd.conf worked? ---- I tried that (umask all 002) on Mac OS X Server 10.1.2 and it did nothing...

Any help would be appriciated --- I need to get ftp to write files as rw-rw-r
taikahn is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:33 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.