on 13/07/04 20:18, Dan Colwell at [EMAIL PROTECTED] wrote:

> 
> On Jul 13, 2004,Laurent Daudelin <[EMAIL PROTECTED]> wrote:
> 
>> Dan,
>> 
>> If you don't have an account with the same short (or login) name on the
>> remote computer, you'll have issues with permissions all the time.
>> 
>> If you really need to do it, then make sure that the files on your Mac
>> are
>> set to be read/write by others. Make sure that you can write to the
>> destination folder on the remote Macintosh. You can try to manually
>> copy one
>> item from the location you want to backup to the remote folder in the
>> Finder. Then, check the resulting file on the remote computer. If the
>> file
>> is fine, then any sync program should be able to do the job, unless
>> they try
>> to mess up with the permissions.
>> 
>> Have you tried my synchronization tool?
>> 
>> -Laurent.
> 
> Laurent,
> 
> Thanks for the response, your download is in its way to my desktop.
> 
> I do have an account with the same login name and password on the
> remote computer. I started to copy a file manually to the external
> drive and checked the permissions before so I could compare them after.
> Which brought up another question. When I used SilverKeeper I backed
> up, then restored from the external after erasing my internal hard
> drive. This really messed up my permissions. The problem it gave me was
> changing files that I owned and giving ownership to "system" and then
> locking them. Now when I checked the permissions on my "test" file, it
> was owned by "system".
> 
> Is there a easy way to know what kind of files should be owned by
> "system" and which ones owned by "dan"?
> 
> Does it matter?
> 
> On several large folders of multiple jpeg files I just used the chown
> command and changed them all to my ownership. The tech at SilverKeeper
> said that should be OK for data files. Anyone with any answers?
> 
> In the meantime I'll give Laurent's File Synchronization a shot...
> 
> Thanks!
> 
> Dan-
> 
> 

Dan,

Yes, permissions DO matter! That's why File Synchronization doesn't support
multiple users directly. In order to support permissions properly, you need
to know what you're doing, from a developer point of view. And even if you
think you know, there are always cases where it's not clear what to do. For
instance, suppose you copy a file that you own into a folder own by another
user. Who should be the new owner of the file? You? What should be the group
and the group permissions on that remote computer? The group on your Mac or
the group associated with the remote folder where you copy the file? What
should be the group permissions?

You see, it's not that clear. And I didn't even think about other potential
situations where it's not obvious what you should do about a file. So,
that's why I didn't code File Synchronization to handle permissions. I don't
advertise it as a multi-user application either. If I had done so, File
Synchronization would probably still be under development...

That being said, if you're careful, it can be done. The best way to deal
with that is to have a public folder in one of the user account. You can
also create a group of users (using NetInfo) on both computers and make sure
that the files have this group assigned to them. The group should be kept
for the copy you would do on the remote Macintosh.

As to your question regarding who should own what, the superuser (root or
system) should own anything that is not in your home folder. This is an
added protection as you won't be able to accidentally delete files that you
should not. And applications that need to modify a file owned by root will
ask for your administrator password. So, you play safer.

-Laurent.
-- 
============================================================================
Laurent Daudelin   AIM/iChat: LaurentDaudelin    <http://nemesys.dyndns.org>
Logiciels Nemesys Software               mailto:[EMAIL PROTECTED]

fiber-seeking backhoe: [common among backbone ISP personnel] Any of a genus
of large, disruptive machines which routinely cut critical backbone links,
creating Internet outages and packet over air problems.


-- 
G-Books is sponsored by <http://lowendmac.com/> and...

 Small Dog Electronics    http://www.smalldog.com  | Refurbished Drives |
 -- Check our web site for refurbished PowerBooks  |  & CDRWs on Sale!  |

      Support Low End Mac <http://lowendmac.com/lists/support.html>

G-Books list info:      <http://lowendmac.com/lists/g-books.html>
  --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[EMAIL PROTECTED]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/g-books%40mail.maclaunch.com/>



---------------------------------------------------------------
>The Think Different Store
http://www.ThinkDifferentStore.com
---------------------------------------------------------------


Reply via email to