Re: File and Folder permissions..



On Fri, 14 Jul 2006 13:10:30 +0200, birre wrote:

<snip>

1. Do not set fixed permissions that may be wrong, use chmod g+w to add write
access for the group.

2. Backup (you do backup I hope) ,,, A cronjob that change ctime every hour
will tag all files as candidates for incremental backup, only change the files
that need to be changed.

What's a backup? j/k


Do not use chmod -R (never) , use :
find /home/shared ! -perm -g+w -exec chmod g+w {} \;
(add g+w to files that NOT has g+w, do NOT touch other files)


nice, Thanks.

And do chmod go-rwx /home/whitey , since that will stop your wife to access
anything there whatever the file permission is,
do as she do with /home/arnold :-)



thanks to both you and kevin for your suggestions. I don't actually have
any pr0n on the pc so it looks like the best (easiest) solution is to
change the umask for our two users.

.