Hi On Sunday 30 September 2007, Lívio Cipriano wrote:
Hi all,
I've been trying to use a external disk. I can format it, mount it, but I can't write on it, cause always openSUSE 10.2 mounts it with owner and group as root.
I found that strange cause all the usb pens are writable. Why not the disk? The only answer that I found is that the pens are format with vfat. I format the disk with vfat and it mounted with my user name as owner and group as root.
So ... How can I mount an external disk, not format with vfat, with my user name as owner?
If you use a filesystem that does not use Linux type permissions then your system is so kind to give you the rights to it... But when you come with a disk that acually uses Linux permissions (ReiserFS, ext3 etc) then naturally the system will use those permissions. So when you have plugged in your disk, and it has been mounted, go as root and make a directory on the disk and make that directory owned by you. that is: # cd /mount/point/to/disk # mkdir directory_for_username # chown username:users directory_for_username And the external disk will work as a normal disk, and you will have access to your directory at every mount. But then again on another Linux PC your directory is awailable for the user who happens to have the same uid as your user... Hope that helps. regards j -- Jonas Helgi Palsson "Microsoft is not the answer. Microsoft is the question. NO is the answer." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org