Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permissions problem with external HDD [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1677
Location: Edinburgh, UK

PostPosted: Tue Mar 10, 2015 6:12 pm    Post subject: Permissions problem with external HDD [solved] Reply with quote

Hi all,

I recently reformatted (out of necessity) an external USB drive. My wiping the file system and reformatting the drive (ext3) worked fine.

I can mount the drive as root or use, but I cannot write to the drive as user.

Code:

touch: cannot touch ‘/mnt/usbdrive/.txt’: Permission denied


My /etc/fstab line related to said drive is as follows:

Code:

/dev/sdc1               /mnt/usbdrive   auto            noauto,rw,user,exec     0 0


Any help would be appreciated.

Best,

Alex


Last edited by evoweiss on Sat Mar 14, 2015 4:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44226
Location: 56N 3W

PostPosted: Tue Mar 10, 2015 8:32 pm    Post subject: Reply with quote

evoweiss,

ext3 has real permissions.

Fix the permissions on /mnt/usbdrive and on the directories on the drive.
Any permissions options you set in /etc/fstab will be ignored, unlike for non *NIX volumes.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
evoweiss
Veteran
Veteran


Joined: 07 Sep 2003
Posts: 1677
Location: Edinburgh, UK

PostPosted: Sat Mar 14, 2015 4:10 pm    Post subject: Reply with quote

NeddySeagoon wrote:
evoweiss,

ext3 has real permissions.

Fix the permissions on /mnt/usbdrive and on the directories on the drive.
Any permissions options you set in /etc/fstab will be ignored, unlike for non *NIX volumes.


Many thanks. It was some time since I last had to do that. Odd that it worked without the change in permissions before. I could have sworn that I used ext3 or ext4 at the time.

Best,

Alex
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum