[Ilugc] Re: pendrive handling

  • From: knura@xxxxxxxxx (Arun Khan)
  • Date: Sun Jul 20 10:42:29 2008

On Saturday 19 Jul 2008, indianathan n wrote:

I use my pen drive as data storage media. In my office i have RHEL4,
Ubuntu 7.10 and Mandriva at home. I am system admin and having
Windows PCs at various places which is in my control. To handle pen
drive i use Puppy Linux ( In mini-cd). I experienced that the file
copied in RHEL4 machine can't edited in ubuntu.then i changed the
file permission in ubuntu. after some time, when i access the file in
RHEL4, the file owner displayed as 999 ( using ls -l). The same thing
happen when i use the ubuntu live CD in RHEL4 machine. I aready
posted the above occurence in the list.Hence i told that never change
the file permissions.

The issue is not about file permission but ownership.  Please read up on 
uid/gid and their mappings to "string" names.  AFAIK, file ownerships 
is identified by uid/gid.  These could be different on different 
machines for the same "string" name.  You need to write a small shell 
script to restore ownership when you move the pen drive across systems.

HTH,
-- Arun Khan

Other related posts: