LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 09-26-2009, 07:30 AM   #1
MonctonJohn
Member
 
Registered: Aug 2007
Location: Canada
Distribution: Mint
Posts: 112

Rep: Reputation: 15
No permissions to write to removable hard drive


This seems to be a strange problem with an external hard drive.

I recently installed a new HD in my PC and installed slackware 13 so the smaller hard drive is going to be used as a backup. It used to have 2 partitions both reiserfs and when I plugged it in I had rwx access to it and there were no issues. I decided then that after I got all my important files off copied to my internal drive I could repartition the removable drive and reformat it. Ever since the reformat I no longer have w access to this drive when I plug it in. The drive mounts to /media/SlackBackup and when I look the permissions are

Code:
drwxr-xr-x 3 root root 4096 2009-09-25 23:29 SlackBackup
I looked at the device node as well:

Code:
brw-rw---- 1 root disk 8, 17 2009-09-26 09:03 /dev/sdb1
When I look through /lib/udev/rules.d/65-permissions.rules the lines relevant for disks (sd*) says that the device should be set for the plugdev group which my account is a member of. This is not happening so I'm thinking something is messed up somewhere.

Also I tried adding the drive to fstab by UUID but it wouldn't let me write so I removed the entry.

Any help always appreciated.
 
Old 09-26-2009, 07:40 AM   #2
MonctonJohn
Member
 
Registered: Aug 2007
Location: Canada
Distribution: Mint
Posts: 112

Original Poster
Rep: Reputation: 15
I forgot to mention that I originally formatted the drive with vfat and I was able to mount and write to it with no issues but it can't handle large files so I reformatted to ext3, and this is when all the issues started.
 
Old 09-26-2009, 09:40 PM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
I remember doing this once & it worked. Try this.
As root:
Code:
# chmod user:user /media/SlackBackup
Where 'user' is your normal user name.
 
Old 09-27-2009, 06:45 AM   #4
MonctonJohn
Member
 
Registered: Aug 2007
Location: Canada
Distribution: Mint
Posts: 112

Original Poster
Rep: Reputation: 15
I actually read that on Ubuntu forums and did try it and it worked. That is odd behavior... I wonder why that works?
 
  


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
Write permissions to hard drive gotvols Linux - General 3 02-10-2007 09:18 AM
Enabling rwx permissions on my removable USB hard disk? mejpark SUSE / openSUSE 11 10-10-2006 01:08 PM
Not able to set write permissions on external hard drive. jpen8560 Linux - Hardware 19 03-22-2006 10:44 AM
Write permissions for external hard drive kg4ysy Linux - Hardware 1 05-19-2005 05:36 AM
Linux on removable Hard Drive hobz Linux - Newbie 1 02-19-2005 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration