I got an annoying problem with accessing files on a JFS partitition:

Partitition was created under OS/2's JFS and also filled with data under OS/2.
I have tested since long the compatibility of a JFS filesystem with OS/2 and 
Linux:
Linux does not touch the EA's (extended attributes) created by OS/2
OS/2 does not touch UID and GID and access rights created by Linux.
So achtually all should be fine - and I never lost any data, but:

When I mount such a partitition under Linux, all the files written by OS/2 do
not have any acces rights assigned and the owner is 'root' and group is 'root'.
I have placed the mount-options in FSTAB for /dev/hda11 this way:
        noauto,user,suid
this does allow the mounting and umounting by me working as a 'user',
but I do not have any rights to access the files (those with no attributes).
The only way is to open a root-terminal and issue
        chmod -R 777 <mountpoint>
        chown -R ingo <mountpoint>
(<mountpoint> is the directory where the partitition is mounted to, ingo is
my user name).

This information is then written to the filesystem and becomes persistant.
But whenever I add a new file under OS/2, I first have to become root and
assigne the rights as above.
Unfortunately Linux-JFS does not accept the mount-options
uid, gid, umask=... added in the FSTAB, so it is very inconveniant to
exchange files between the two operating systems.

Does anybody know how to solve this dilemma - seems to be Linux-related?

Best regards,
Ingo



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to