I am having a problem moving files on or to my external HD. Everytime I try to move something there or move a file to a different folder I get a"permission denied" error message. Under properties the owner for that drive is listed as"root"."Other Users" can read and execute, but not write. I have tried to change this by opening up pcmanfm as a superuser and ticking the"write" box, but the settings won't stick.
What am I doing wrong?
topic title: External HD permissions
-
Posts: 9
- Joined: 19 Jun 2010
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#2
What is the external hd formatted as? ext3, fat, ntfs?
-
Posts: 9
- Joined: 19 Jun 2010
#3
Sorry, I should have included that info. It's formatted as fat32.anticapitalista wrote:What is the external hd formatted as? ext3, fat, ntfs?
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#4
There are some solutions here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ubuntu.swerdna.org/ubufat32.html"
linktext was:"http://ubuntu.swerdna.org/ubufat32.html"
====================================
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ubuntu.swerdna.org/ubufat32.html"
linktext was:"http://ubuntu.swerdna.org/ubufat32.html"
====================================
-
Posts: 9
- Joined: 19 Jun 2010
#5
Thanks for the fast reply and the link, but those solutions aren't working. I modified fstab as suggested in the tutorial and I only got an"fstab line X is bad" error.
It's ok, if I need to move something to the external HD I'll just run pcmanfm as root for the few seconds it takes to transfer the file.
It's ok, if I need to move something to the external HD I'll just run pcmanfm as root for the few seconds it takes to transfer the file.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#6
What did you do exactly?
-
Posts: 9
- Joined: 19 Jun 2010
#7
I added this line that I got from the turorial:
UUID=AD74-85CA /path_to/mount_point vfat umask=0000,utf8 0 0
and modified it to look like
UUID=632D-1607 /media/MY BOOK vfat umask=0000,utf8 0 0
and ran 'mount -a'. It was then that I got the message that fstab was bad.
This is what my fstab looks like, unmodified:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda5 / ext3 defaults,noatime 1 1
/dev/hda6 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda1 /mnt/hda1 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
I now see the top line in fstab, but there was nothing about uDev in the tutorial. Is that what I should be modifying?
UUID=AD74-85CA /path_to/mount_point vfat umask=0000,utf8 0 0
and modified it to look like
UUID=632D-1607 /media/MY BOOK vfat umask=0000,utf8 0 0
and ran 'mount -a'. It was then that I got the message that fstab was bad.
This is what my fstab looks like, unmodified:
# Pluggable devices are handled by uDev, they are not in fstab
/dev/hda5 / ext3 defaults,noatime 1 1
/dev/hda6 swap swap sw,pri=1 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0622 0 0
# Dynamic entries below
/dev/hda1 /mnt/hda1 ntfs-3g noauto,users,gid=users,dmask=002,fmask=113,relatime 0 0
/dev/cdrom /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
/dev/hdc /media/cdrom udf,iso9660 noauto,users,exec,ro 0 0
I now see the top line in fstab, but there was nothing about uDev in the tutorial. Is that what I should be modifying?
-
Posts: 1,228
- Joined: 15 Jun 2008
#8
You could try to set the owner for that partition for yourself. When you right-click its empty background with pcmanfm as root and choose properties, set the owner for yourself and the group for users.
-
anticapitalista
Posts: 5,955
- Site Admin
- Joined: 11 Sep 2007
#9
Or use rox-filer instead of pcmanfm
-
Posts: 9
- Joined: 19 Jun 2010
#10
"Operation not permitted"secipolla wrote:You could try to set the owner for that partition for yourself. When you right-click its empty background with pcmanfm as root and choose properties, set the owner for yourself and the group for users.
rox-filer gives the same permissions error.anticapitalista wrote:Or use rox-filer instead of pcmanfm
-
Posts: 1,081
- Joined: 29 Sep 2007
#11
This may be the problem
You have a space in"MY BOOK". Perhaps use"MyBook" instead. Spaces in file folders and names and be a bit tricky.
john
Code: Select all
UUID=632D-1607 /media/MY BOOK vfat umask=0000,utf8 0 0
john
-
Posts: 1,081
- Joined: 29 Sep 2007
#12
For the permission errors, try launching rox or pcmanfm as root. Then you should be able to follow the posted advice. You may want to try this before my idea.
john
john
-
Posts: 9
- Joined: 19 Jun 2010
#13
As for the permissions errors, launching pcmanfm or rox as root doesn't solve the problem because apparently the ownership can't be changed in that way on a fat32 formatted drive.
Thanks very, very much for your help, but it really isn't a huge problem, so I'll just work around it.
Good thought, but unfortunately it doesn't work. I just get a message that MYBOOK is not a valid mount point. I tried it with My_Book as well, same message.OU812 wrote:This may be the problem
You have a space in"MY BOOK". Perhaps use"MyBook" instead. Spaces in file folders and names and be a bit tricky.
john
As for the permissions errors, launching pcmanfm or rox as root doesn't solve the problem because apparently the ownership can't be changed in that way on a fat32 formatted drive.
Thanks very, very much for your help, but it really isn't a huge problem, so I'll just work around it.
-
Posts: 31
- Joined: 17 Apr 2010
#14
Tried this (
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.atcrosslevel.de/linux/#l55"
linktext was:"http://www.atcrosslevel.de/linux/#l55"
====================================
) variant of fstab line already?
Greetings
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.atcrosslevel.de/linux/#l55"
linktext was:"http://www.atcrosslevel.de/linux/#l55"
====================================
) variant of fstab line already?
Greetings
-
Posts: 35
- Joined: 08 Aug 2009
#15
The"not a valid mount point" error sometimes means the folder does not exist. just make a folder in /media called MyBook and try again, (capitalization matters.)