Unix Technical Forum

Question on Permission for External Hard Drive

This is a discussion on Question on Permission for External Hard Drive within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Sat, 15 May 2004 18:49:20 -0700, Lucinda wrote: >> > /dev/sdb3 /mnt/iomega ext3 noauto,user,rw 0 0 >> > ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-19-2008, 10:33 AM
/dev/rob0
 
Posts: n/a
Default Re: Question on Permission for External Hard Drive

On Sat, 15 May 2004 18:49:20 -0700, Lucinda wrote:
>> > /dev/sdb3 /mnt/iomega ext3 noauto,user,rw 0 0
>> >
>> > And I have set the permissions for /dev/sdb3 to 777 (I am the only
>> > user on my system).

>>
>> Setting your hard drive partition to 777 is still a bad idea. Fix that.
>>
>> What are the permissions on /mnt/iomega?

>
> I have also set the permissions to 777 on /mnt/iomega to see if it
> would work, but it still doesn't help. I'm not sure what to try next.


IIUC mount(8) changes the permissions of the mount point as dictated by
the current umask ("help umask").

Try setting the permissions (I never use 777! Use group ownership and
something like 775 instead) after you mount it. Or, try using a
subdirectory inside the /mnt/iomega mounted filesystem. That would
retain its permissions when mounted. As long as your non-root user has
r-x permission on /mnt/iomega, it should work.

> What permissions would you put on /dev/sdb3? What is the
> conventional wisdome for devices?


I rarely if ever change the default permissions on device nodes. Put
your user in group "disk" if you need access to the raw device. But why
would you need such access? No more often than I need that, I just do
it as root.

You might want to chgrp certain partitions to use the "owner" feature
in fstab(5).
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:35 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com