Hardware - Support > Hard Drives and SSDs

Format new drive with GParted ext4 Error

(1/4) > >>

Your right I couldn't make a new folder beside other ones I had made.
I started to copy files to new folders and got black screen with text errors.

After reboot I got libpng error: IDAT: CRC error

Thanks for your time and effort gold_finger.
Gave up to quick now back again

Since I don't know exactly how you changed the permissions I can't say for sure whether you fixed it in the way you think.

You may have only changed the permissions for specific files/folders, but not for anything newly created and saved on the partition to a brand new folder.

To test, try to create a brand new test folder (one that is NOT contained within one that you already changed permissions on) on the partition as your regular user and try saving a file to it as regular user.  If you can do that, then you likely did change permissions on entire partition.  If you can't, then you only changed permissions on existing things and did not change it for entire partition.

For example, if you currently have folder1, folder2, file1, file2, etc. on the drive, run test by trying to create folder3, then testfile1 inside of folder3.  (Do not test by creating a new folder or file inside of folder1 or folder2.)  Do that as your regular user only -- do not us sudo or su to access the drive.  If you can do that, then all is well.

Time stamp gold_finger  8)

Thanks typing all that it fixed now, also did a reboot and permissions have stayed.

Drive was Root.

A phoned a mate he explained that if typed Sudo Su and put password I'm SU only in the terminal
not were I been clicking about on screen.

From terminal
Sudo Su
Then typed Thunar 
window opened

I change permissions to what I wanted done all in about 30sec. Were it's taken me three weeks on and off to change permissions  :o

Thanks all

Right now on to next thing fix

In Linux, permissions are built into the filesystem itself.  So when you initially mount the new partition as root, root becomes the owner on the filesystem of the partition.  Root will remain the owner of files there until you purposely change the permissions.  Even on a new installation attempt, when you again mount something that had prior permissions already set, those prior permissions stick with it until you change them.

You just need to change ownership to yourself.  Once you do that, then that new ownership permission status will also stick with the filesystem.  If it were a removeable drive, you could take it to another Linux computer and plug it in and have no problem accessing and using it as long as you are using same username on both computers.  (There is a possible exception to this, but don't want to confuse things by going into it.)

Answer a few questions first, then we'll take care of the problem.  It will be pretty easy to do.

1.  Is your new drive installed permanently in the computer, or is it a removeable drive that you will not always have attached?

2.  If it is permanently installed inside computer, do you want to set it up to be accessible every time you boot into LL, or did you only want it available every once in a while?

3.  If it is permanently installed, did you run through any of the steps in that tutorial I referenced before in an attempt to set it up?  If so, what steps did you perform?

In preparation for the fix, do the following to make things much easier on yourself:

*  Boot computer, attach new drive (if not installed); then start GParted program (Menu -> System -> Partition Drives).

*  In upper right corner of GParted window, choose the device name of the new drive from the drop-down menu (will be something like /dev/sdb, /dev/sdc, etc.).

*  When correct drive is showing in GParted window, right-click on the partition you made and choose "Label".  (If that choice is grey'd out and unavailable, choose "Unmount" first; then right-click and choose "Label" again.)

*  Make yourself a descriptive label for the partition.  Don't use spaces or special characters in the name and don't make it more than 12 characters long.  (I don't remember limit on length of name, but think 12 or less is fine.)

*  Click "OK" to make the label.  (This will not damage anything on the partition.)

*  Close GParted when done.

Now, instead of showing the partition as some long miscellaneous string of characters, you'll see it by it's new descriptive label.  That will make it a lot easier when you go to run the chown command to change ownership.


[0] Message Index

[#] Next page

Go to full version