writing to a partition drive (ext3), permissions issue?

Asked by bhedrick

I re-formatted to an ext3. It is partitioned.

And now, I can't seem to create new files, copy files to the drive, etc?

Also, most of my tools are greyed out for example, paste, create new folder.

I think its a permission issue, but not sure?

Thanks for your help in this matter,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu nautilus Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo gedit /etc/fstab

give your user password when requested, you don't see nothing when you type it, then press enter.

copy and paste the result here

then please type:

sudo mount

copy and paste the result here

Thank you

Revision history for this message
bhedrick (brandonhedrick) said :
#2

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=a3464428-ea94-4ad9-888e-2d03ca4a4c0f / ext3 defaults,errors=remount-ro 0 1
# /dev/hdb1
UUID=58A45DF3A45DD45A /media/hdb1 ntfs defaults,umask=007,gid=46 0 1
# /dev/hda2
UUID=bc437136-559d-4c1d-9e8c-c2205b14ceea none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/hdd /media/cdrom1 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0

hed@hed-desktop:~$ sudo mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sda1 on /media/disk type vfat (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

I think your new ext3 partition is simply not mounted
Please copy and paste the result of this command, open a terminal and type:
sudo fdisk -l

command ...( -I is lower "L" )

Give your user password when requested, you don't see nothing when you type it, then press enter.

Thank you.

Revision history for this message
bhedrick (brandonhedrick) said :
#4

i did what you asked and it still wont allow me to write/copy files to the drive?

Revision history for this message
bhedrick (brandonhedrick) said :
#5

When i try and drag n drop a file it tells me this message,

Error while copying to "/media/disk-1"
You do not have permissions to write to this folder.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

I don't see any mount point /media/disk-1 into previous result of:

sudo mount

command

Please copy and paste the result of

sudo mount

and

sudo fdisk -l

( -I is lower "L" )

Thank you

Revision history for this message
bhedrick (brandonhedrick) said :
#7

sudo mount below

/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/sda1 on /media/disk type vfat (rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree)
/dev/hdb1 on /media/disk-1 type ext3 (rw,nosuid,nodev)

hed@hed-desktop:~$ sudo fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x34420fc0

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 9605 77152131 83 Linux
/dev/hda2 9606 9729 996030 82 Linux swap / Solaris

Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe05bad22

   Device Boot Start End Blocks Id System
/dev/hdb1 1 14593 117218241 83 Linux

Disk /dev/sda: 131 MB, 131072000 bytes
32 heads, 32 sectors/track, 250 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Disk identifier: 0xbde02abd

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 250 127984 b W95 FAT32
Partition 1 has different physical/logical endings:
     phys=(250, 31, 32) logical=(249, 31, 32)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

ok now i see it
/dev/hdb1 on /media/disk-1 type ext3 (rw,nosuid,nodev)
first simply try to change the mount point permission, give it all.

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo chmod 777 /media/disk-1

give your user password when requested, you don't see nothing when you type it, then press enter.

Revision history for this message
bhedrick (brandonhedrick) said :
#9

i can now drag n drop files to the drive, but it still wont allow me to create new folders.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo -R chmod 777 /media/disk-1

give your user password when requested, you don't see nothing when you type it, then press enter.

Revision history for this message
bhedrick (brandonhedrick) said :
#11

hed@hed-desktop:~$ sudo -r chmod 777 /media/disk-1
sudo: illegal option `-r'
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
            { -e file [...] | -i | -s | <command> }

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12

sorry

sudo chmod -R 777 /media/disk-1

Revision history for this message
bhedrick (brandonhedrick) said :
#13

i did that and it still wont allow me to create a new folder or rename an existing folder that i dragged into the drive?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#14

Please try to do it from terminal...

mkdir /media/disk-1/test

Revision history for this message
bhedrick (brandonhedrick) said :
#15

im not understanding, sorry?

Revision history for this message
bhedrick (brandonhedrick) said :
#16

got it, thank you for your help!

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#17

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

mkdir /media/disk-1/test

and press enter

Revision history for this message
bhedrick (brandonhedrick) said :
#18

Thanks marcobra, that solved my question.

Revision history for this message
djadjana (djadjana) said :
#19

you don't know it - but you two guys just helped me solve the problem :)
it was the same problem but just a bit different parameters - luckily - it worked :)
thank you!!!

djadjana