e24ohm
May 11th, 2013, 02:22 PM
Folks:
Hi Community:
I recently installed a new HDD and partitioned the drive with one primary partition. I then used the mkfs.ext4 to format it. Currently Ubuntu is Automounting the drive on boot; however, late last night I was not able to ‘sudo chmod +x’ to a BASH script I made on the drive. I am able to read and write files on the drive. The command functioned as if it worked; however, when inspecting the file, the attributes were not changed.
This is the output of the file system from ‘fdisk –l’:
//---
Partition table entries are not in disk order
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0b493b78
Device Boot Start End Blocks Id System
/dev/sdc1 2048 1953525167 976761560 83 Linux
//---
I am not sure if this means anything, but this drive was originally partitioned and formatted as NTFS on windows box; however, once I installed the drive into my Ubuntu box – I ran ‘sudo fdisk /dev/sdc’ and ‘mkfs.ext4’ for the correct drive. And, like I said – I am able to read/write to the drive, just cannot ‘sudo’ chmod.
I’m at a lost, so I’m looking for suggestions and to brainstorm the issue.
Thanks.
E
Hi Community:
I recently installed a new HDD and partitioned the drive with one primary partition. I then used the mkfs.ext4 to format it. Currently Ubuntu is Automounting the drive on boot; however, late last night I was not able to ‘sudo chmod +x’ to a BASH script I made on the drive. I am able to read and write files on the drive. The command functioned as if it worked; however, when inspecting the file, the attributes were not changed.
This is the output of the file system from ‘fdisk –l’:
//---
Partition table entries are not in disk order
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
81 heads, 63 sectors/track, 382818 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0b493b78
Device Boot Start End Blocks Id System
/dev/sdc1 2048 1953525167 976761560 83 Linux
//---
I am not sure if this means anything, but this drive was originally partitioned and formatted as NTFS on windows box; however, once I installed the drive into my Ubuntu box – I ran ‘sudo fdisk /dev/sdc’ and ‘mkfs.ext4’ for the correct drive. And, like I said – I am able to read/write to the drive, just cannot ‘sudo’ chmod.
I’m at a lost, so I’m looking for suggestions and to brainstorm the issue.
Thanks.
E