-   Linux - General (
-   -   Change permission for ext4 partitions (

HajdukJanko 05-06-2013 07:35 AM

Change permission for ext4 partitions
I had 2 ntfs data partitions which I recently changed to ext4. The problem is that now I have no write and execute permissions for these partitions.


/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_47J8TELWT-part6 swap                swap      defaults              0 0
/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_47J8TELWT-part7 /                    ext4      acl,user_xattr        1 1
/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_47J8TELWT-part8 /home                ext4      acl,user_xattr        1 2
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_47J8TELWT-part1 /home/DATA1/        ext4      user,acl              1 2
/dev/disk/by-id/ata-TOSHIBA_MK8032GAX_47J8TELWT-part5 /home/DATA2/        ext4      user,acl              1 2

Thanks for help! :)

chrism01 05-06-2013 08:34 AM

What happens if you remount

mount -o remount,rw /whatever
You can make permanent whatever settings you want in the options field of fstab.

HajdukJanko 05-06-2013 09:32 AM

If I type

mount -o remount,rw /home/DATA1/
nothing happens (with root permission off course).

And can you give me an example of what I can use as fstab options.

HajdukJanko 05-06-2013 10:26 AM

Maybe something has happened... :)
Now I can create new folder in /home/DATA1/ and /home/DATA2/ but I can't change permission for all files and folders on those partitions.
I'm puzzled...

HajdukJanko 05-06-2013 10:56 AM

It seems to me that I have to copy all files and folders, or to change permissions to everyone of them...

HajdukJanko 05-06-2013 12:18 PM

I changed permissions for files and folders with parted magic.
When you click properties you can simply edit owner and group. I've changed owner from root to partimag and group from root to users, and that's it. :)

chrism01 thanks for your assistance!

chrism01 05-06-2013 09:29 PM

No worries :)
You may want to bookmark this

All times are GMT -5. The time now is 02:05 AM.