Normal User rw access to ext4 partitions

Hi,

I need to access sdc2 & sdc4 from SUSE, have shared the partitions already but i am unable to write data there. I checked permissions, it says only owner can change the permission. I need to get rw access for a normal user. Have chmod it already but it didnt work.

Best,

David

Fixed it -

mount /dev/sdc4 /mnt/sdc4

sudo chmod 777 /mnt/sdc4

Any solution involving mode 777 is usually wrong and unsafe.

how do I do it the other way.

If you are the only user, make yourself the owner of that directory. But only if it’s not a system directory but somewhere you store your files.

If they are system directories, then you are not meant to write into them as a normal user as a matter of course.

One is disk back up partition and 1 is data back up partition. How do i make myself a owner?

The owner, there is only one owner for an object.

chown is the program you want.

I figured chown, how should I run it

chown david:david /mnt/sdc4
or something else.

There may not be a group called david, you are probably in group users. So

chown david:users /mnt/sdc4

BTW, /mnt/* is not a good place to mount things longer than temporarily because /mnt is often used already. Something like /backup, or /extra or whatever makes sense to you.

Noted, will keep that in mind. Thanks for heelping me out with this.

Best,

David