-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Patrik,

You're having a problem with file permissions, but it's pretty easy to
solve this. I'm not sure how familiar you are with how linux deals with
permissions, but I'll try to make this brief. You can find much better
explanations online (the link dave howorth posted for you is a good
place to start.)

this bit:

>>> total 26
>>> drwxr-xr-x  5 root  root 4096 2007-07-24 18:41 datatank
>>> -rw-r--r--  1 root  root   88 2007-07-25 02:30 .hal-mtab
>>> --wS--Sr-x  1 root  root    0 2007-07-22 07:43 .hal-mtab-lock
>>> dr-xr-xr-x  8 patrikh root 6144 2007-01-03 09:39 openSUSE10.2-IL022007
>>> drwxr-xr-x 17 root  root 4096 2007-07-24 02:27 sementara
>>> drwxr-xr-x  2 root  root 4096 2007-07-23 05:31 sementara2
>>> drwxr-xr-x  2 root  root 4096 2006-11-28 04:02 xmms_audio_cd
>>> suseonthelap:/ # whoami

    ^^^^^^^^^^ means r-read w-write x-execute for owner (in this case
root, as it says next to the chart), then group (also root,) then other.

the two partitions in questions are owned by user root and group root,
but are only writable by the user. i'm not sure how'd you set up
/etc/fstab to make them writable by a different user/group, but it's
easy enough to change the ownership or permissions outside manually.

if you are the only one on your system, the simplest thing to do would
be (at a command prompt as root) chown patrickh datatank  which would
set you as the owner user of the file. if you have multiple users on
your system and aren't too worried about security you could instead
change the permissions with chmod 777 datatank  which would set the
permissions to read, write, execute for everyone on the system.

if you just want to swap data back and forth between the partitions, you
might be best off using chown or chmod on specific directories rather
than making the whole thing completely accessible. for instance, you
could just chown patrickh /media/datatank/home/patrickh (assuming you're
using the same logins, etc. etc.) which would allow your patrickh user
on suse to access fully the home directories on the other partitions,
but would require you to login as root to go in and change the important
config files on those other partitions.

Derek

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGp28Sg39m4F98CH4RAgnXAJ4tSz4mPIbp7spWg0HZ2ZUZGxbC3QCfSO1e
WzDsCjc9N5jXhVBN5/KhYwE=
=Zn6G
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to