Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Quicker shell command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quicker shell command
Authored by: uurf on May 07, '02 01:53:45PM

Sorry, what would the command be to "just add write privileges to the group that the .DS_Store files already belong to (Admin)."?

thanks



[ Reply to This | # ]
Quicker shell command
Authored by: uurf on May 07, '02 02:07:28PM

is it this:
sudo find / -name .DS_Store -user root -print0 | sudo xargs -0 chmod g=+w

?



[ Reply to This | # ]
Quicker shell command
Authored by: uurf on May 07, '02 02:55:18PM

thanks man pages - i think this is it - a command to find all the .DS_Store files owned by root and change their group from wheel to admin

sudo find / -name .DS_Store -user root -print0 | sudo xargs -0 chown :admin



[ Reply to This | # ]
how to make new windows remember?
Authored by: bruddahmax on Jul 03, '02 02:55:24AM

new folders create new .DS_Store files with default preferences not set to ADMIN as the user. how can this be changed?



[ Reply to This | # ]
how to make new windows remember?
Authored by: Cobber99 on May 28, '06 03:24:49PM

Indeed - does anyone know how to stop the system from making new directories
with root ownership on the .DS_Store file? It is insanely annoying and any help
here would be much appreciated!



[ Reply to This | # ]
root-owned .DS_Store files
Authored by: sjk on May 28, '06 04:41:17PM
.DS_Store are created with ownership of the current Finder user. If you're seeing root-owned .DS_Store files they've probably been added by running authenticated installers; that's how they've gotten onto my systems anyway. Or you're running Finder as root? :-)

If you're logged in as a non-root user and new .DS_Store files in folders you create with Finder are owned as root then things get tricker. There's no reason to over-speculate about possible causes without more detailed information about your system/environment. Seems better to start with simple explanations.

[ Reply to This | # ]