|
|
#1 |
|
Prospect
Join Date: Jan 2002
Posts: 4
|
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. |
|
|
|
|
|
#2 |
|
Prospect
Join Date: Jan 2002
Posts: 4
|
Update
Apparently the umask doesn't affect carbon and cocoa applications.
What then ? |
|
|
|
|
|
#3 |
|
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 |
|
|
|
![]() |
|
|