Robin Paulson
2011-01-15 05:20:57 UTC
i have a laptop, and a server which backs up the laptop. i know not
how, but the permissions on the two are out of sync. i would like to
log on to the server and change all the permissions, and do the same
on the laptop. this will require chown. can someone explain how to
recursively change the permissions of the files only, i.e. not the
folders? i want to make the files non-executable, but obviously the
folders need to be executable, so i can open them
the files need to be read and write by the owner, read by the rest of
the group, and nothing for everyone else
i could change the permissions on the laptop and then sync all the files but:
1. unison is confused, and wants me to individually say which file
(server or laptop) should be propagated
2. this will take forever - there are 25,000 files, and my connection
is rather poor
3. it seems rather inelegant, most of the data hasn't changed
4. i'd like to learn the flags for chown, but reading the man page,
it's a bit over my head
how, but the permissions on the two are out of sync. i would like to
log on to the server and change all the permissions, and do the same
on the laptop. this will require chown. can someone explain how to
recursively change the permissions of the files only, i.e. not the
folders? i want to make the files non-executable, but obviously the
folders need to be executable, so i can open them
the files need to be read and write by the owner, read by the rest of
the group, and nothing for everyone else
i could change the permissions on the laptop and then sync all the files but:
1. unison is confused, and wants me to individually say which file
(server or laptop) should be propagated
2. this will take forever - there are 25,000 files, and my connection
is rather poor
3. it seems rather inelegant, most of the data hasn't changed
4. i'd like to learn the flags for chown, but reading the man page,
it's a bit over my head
--
robin
http://tangleball.org.nz/ - Auckland's Creative Space
http://bumblepuppy.org/blog/
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
robin
http://tangleball.org.nz/ - Auckland's Creative Space
http://bumblepuppy.org/blog/
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug