LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-08-2007, 10:22 PM   #1
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Rep: Reputation: 0
External Hard Drive does not give me the permission to write


I am new to Linux and have an external hard drive that I am using for music to DJ. Under windows, I have no problem adding songs to the drive; but, under Linux (openSuse10.2) it says I do not have permission to change. I tried changing the permissions, but it won't let me do that either. Can someone help?
 
Old 01-08-2007, 10:23 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
Did you try changing permissions as root?

added:
Gah, it occurs to me that this may not mean anything to you. If not, then bring up a terminal. Type "su" and press enter. Enter the root password. Then, type "chmod 777 mountpoint". Replace "mountpoint" with the directory where the drive is mounted, such as "chmod 777 /mnt".

If you've already figured out "sudo", then, of course, it's better to use "sudo chmod 777 mountpoint".

Last edited by Quakeboy02; 01-08-2007 at 10:26 PM.
 
Old 01-08-2007, 10:25 PM   #3
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Yes, I think so. I used the superuser mode of Konquerer
 
Old 01-08-2007, 10:33 PM   #4
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
The hard drive is listed as New Volume, but when I type it in as /media/New Volume it says no directory.
 
Old 01-08-2007, 10:39 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Type in "sysinfo:/" in the konqueror address bar. If the drive is listed, right click and select "mount". SuSE uses hal and udev to create a device for it automatically. If it is working correctly, it should be mounted if you enter the drive.

You haven't indicated how the drive is formatted or what the device is. It is also possible to manually mount the drive. If it is a fat32 drive, then you can't use "chmod". Instead, you need to use a mount option to affect the ownership or permissions.
 
Old 01-08-2007, 10:46 PM   #6
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
I typed in sysinfo, but it does not give me the option to "mount" the drive. It appears that the filesystem is NTFS, which I know might be a problem. If it is, how do I format the drive to one that would work with Linux and Windows while not losing my music?
 
Old 01-09-2007, 12:04 AM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,245

Rep: Reputation: 121Reputation: 121
"It appears that the filesystem is NTFS, which I know might be a problem. If it is, how do I format the drive to one that would work with Linux and Windows while not losing my music?"

Unfortunately, you don't. We only have a read-only NTFS filesystem at the moment. Billy-Boy does make it hard to convert to Linux, doesn't he?
 
Old 01-09-2007, 04:16 AM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Both Linux and Windows have full access to fat32 drives. You will need to back up your songs first, before reformatting.
 
Old 01-09-2007, 06:08 AM   #9
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Do I need to use Windows to reformat the hard drive to fat32 or can I still use Linux?
 
Old 01-10-2007, 05:59 AM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You can use either. If you use Windows XP, there may be a limit ( 32 or 64 GB I think ) to the size of the partition. You may need to read up on the different fat types of partitions and their capabilities. The mkfs.vfat program can be used to create a fat12, fat16 or fat32 filesystem.

Your Linux distro may also have a partitioner program that will do it as well.
 
Old 01-20-2007, 05:17 PM   #11
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
Update

Ok, so I installed the NTFS-3G Read/Write drivers. When I look at the drive permissions, it says that the owner (user) has permission to read/write to the drive, yet I still get "access denied" whenever I attempt to move my .mp3 files to it.
 
Old 01-20-2007, 11:11 PM   #12
slybob
Member
 
Registered: Aug 2006
Location: Brighton - UK
Distribution: Ubuntu 6.06
Posts: 34

Rep: Reputation: 15
fstab

hey

can you give me the contents of /etc/fstab? I beleive you have kate in suse.

slybob
 
Old 01-21-2007, 08:24 AM   #13
erockallstar
LQ Newbie
 
Registered: Nov 2006
Posts: 14

Original Poster
Rep: Reputation: 0
fstab

/etc/fstab does not give any information about the external hard drive, it only says...

/dev/hda7 / ext3 acl,user_xattr 1 1
/dev/hda8 /home ext3 acl,user_xattr 1 2
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda6 swap swap defaults 0 0
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/fd0 /media/floppy auto noauto,user,sync 0 0
 
Old 01-21-2007, 09:57 AM   #14
slybob
Member
 
Registered: Aug 2006
Location: Brighton - UK
Distribution: Ubuntu 6.06
Posts: 34

Rep: Reputation: 15
line to add

usbfs /proc/bus/usb usbfs noauto 0 0

hmmm this line is looking promising but it does not seem to have a mount point. Im afraid I scrapped suse quite early on for Ubuntu I know it does somthing funny with usb drives. I had hell getting it to r/w to a usb drive.(I was very noob then rather than just quite noob)

Its important you find out what the device is called. Usually its /dev/sda1 or /dev/sda2. It could well be /proc/bus/usb.

you could try editing /etc/fstab (File System Table)

Code:
/dev/sda1 /mnt/usb vfat noauto,users,rw 0 0
This would be for a Vfat partition on /dev/sda1, accessable by everyone, not automatically mounted at boot.

Code:
/dev/sda1 /mnt/usb auto auto,users,rw 0 0
This would be for an automatically discovered partition on /dev/sda1, accessable by everyone, automatically mounted at boot.

If you format it from linux as Reiser or from windows as Vfat it should be readable by both systems. This might take a bit of trial and error to get it working but if your patient...:-)

try searching google for "usb fstab suse" see what comes up

hope this helps :-)

P.S. I think suse is quite advanced and perhaps not that friendly for your average noob, you might want to give ubuntu a try. get the live cd (put it in the cd drive and see if it works) from http://www.kubuntu.org/

slybob
 
Old 01-21-2007, 11:29 AM   #15
Tischbein
Member
 
Registered: Oct 2006
Distribution: debian
Posts: 124

Rep: Reputation: 15
As a longtime 3-operating systems user I'd like to second the "reformat the drive as FAT, splitting it into multiple partitions if necessary" suggestion. It makes life easy, and the FAT size limitation is just a minor pain.

In an ideal world we'd all be using ReiserFS or something like it, but in this all too real world FAT is the universally understood, if primitive, format. Most media files have a maximum size of 1Gb anyway precisely so that old file systems can cope with them.

Regards, twopennurth. So now I'm broke.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to write to external Hard Drive in Bittorent wearetheborg Linux - Hardware 2 11-07-2006 05:56 AM
Not able to set write permissions on external hard drive. jpen8560 Linux - Hardware 19 03-22-2006 10:44 AM
Can you write Knoppix 4.0.2 DVD to an External Hard Drive? knoppixguy Linux - Distributions 1 01-12-2006 02:51 PM
Write permissions for external hard drive kg4ysy Linux - Hardware 1 05-19-2005 05:36 AM
Write to external USB hard drive Rob Roye Linux - Software 6 07-06-2004 04:15 PM


All times are GMT -5. The time now is 04:07 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