LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-06-2013, 07:35 AM   #1
HajdukJanko
Member
 
Registered: Sep 2009
Distribution: openSuSE 12.2 LXDE
Posts: 47

Rep: Reputation: 0
Question Change permission for ext4 partitions


Hello!
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.

Code:
/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!
 
Old 05-06-2013, 08:34 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
What happens if you remount
Code:
mount -o remount,rw /whatever
You can make permanent whatever settings you want in the options field of fstab.
 
1 members found this post helpful.
Old 05-06-2013, 09:32 AM   #3
HajdukJanko
Member
 
Registered: Sep 2009
Distribution: openSuSE 12.2 LXDE
Posts: 47

Original Poster
Rep: Reputation: 0
If I type
Code:
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.

Last edited by HajdukJanko; 05-06-2013 at 09:33 AM.
 
Old 05-06-2013, 10:26 AM   #4
HajdukJanko
Member
 
Registered: Sep 2009
Distribution: openSuSE 12.2 LXDE
Posts: 47

Original Poster
Rep: Reputation: 0
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...

Last edited by HajdukJanko; 05-06-2013 at 10:53 AM.
 
Old 05-06-2013, 10:56 AM   #5
HajdukJanko
Member
 
Registered: Sep 2009
Distribution: openSuSE 12.2 LXDE
Posts: 47

Original Poster
Rep: Reputation: 0
It seems to me that I have to copy all files and folders, or to change permissions to everyone of them...
 
Old 05-06-2013, 12:18 PM   #6
HajdukJanko
Member
 
Registered: Sep 2009
Distribution: openSuSE 12.2 LXDE
Posts: 47

Original Poster
Rep: Reputation: 0
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.

P.S.
chrism01 thanks for your assistance!

Last edited by HajdukJanko; 05-06-2013 at 12:29 PM.
 
Old 05-06-2013, 09:29 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5
Posts: 16,086

Rep: Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994Reputation: 1994
No worries
You may want to bookmark this http://www.tuxfiles.org/linuxhelp/fstab.html
 
  


Reply

Tags
ext4, fstab, partitions, permissions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge difference between ext4 3TB partitions jaccoruns Linux - Kernel 3 01-17-2013 02:18 AM
Unable to change permission of the files on mounted partitions in ubuntu 12.04 shivukumar Linux - Desktop 1 05-01-2012 05:24 AM
cant change permission under ntfs mounted partitions idnotcrae Slackware 1 07-25-2011 10:51 AM
[SOLVED] Write permission to every user in ext4 (fstab) the98 Linux - General 10 09-14-2010 09:23 AM
can't change permission of partitions as root ! tataiermail Linux - Desktop 3 07-01-2007 12:26 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration