[opensuse] Questions about device permission for sata drive
I've installed a 320 GB sata drive in my Suse 10.2 box. I can see it at /dev/sda, but don't have permission to access it, although root does. Even adding the disk group to my username makes no difference. How do I go about getting access to my drive? Thanks, Bob -- Bob Smits bob@rsmits.ca -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Bob, Use the partitioner tool in YaST to partition the disk and give it a mount point. Once the disk is partitioned, has a filesystem, and is mounted, then you can take a look at the permissions of the mount point and modify them as needed. Regards Sean Robert Smits wrote:
I've installed a 320 GB sata drive in my Suse 10.2 box. I can see it at /dev/sda, but don't have permission to access it, although root does. Even adding the disk group to my username makes no difference.
How do I go about getting access to my drive?
Thanks, Bob
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday May 28 2007 4:08:53 am Robert Smits wrote:
I've installed a 320 GB sata drive in my Suse 10.2 box. I can see it at /dev/sda, but don't have permission to access it, although root does. Even adding the disk group to my username makes no difference.
How do I go about getting access to my drive?
Thanks, Bob
YaST, System, Partitioner. Set up partitions with file systems and while you are doing that click the Fstab Options button. 'Mountable by user' comes in handy. Then you may need to do further permissions as root after that at the file system level depending on use. -- Stan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Robert Smits wrote:
I've installed a 320 GB sata drive in my Suse 10.2 box. I can see it at /dev/sda, but don't have permission to access it, although root does. Even adding the disk group to my username makes no difference.
How do I go about getting access to my drive?
I'm not exactly sure what you mean by "root does". Is it mounted somewhere? If it is mounted somewhere, then just have root create a folder and chown it to be the user you want to have access. For instance, I added an 80gb hard drive and mounted it it on /data. I then created a folder /data/jdarnold and did a chown jdarnold /data/jdarnold and a chgrp users /data/jdarnold. Now my user can get at it just fine. -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2007-05-29 08:06, Jonathan Arnold wrote:
<snip> a chown jdarnold /data/jdarnold and a chgrp users /data/jdarnold.
Or, you could just have done "chown jdarnold:users /data/jdarnold" -- Hypocrisy is the homage vice pays to virtue. -- François de La Rochefoucauld -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Darryl Gregorash wrote:
On 2007-05-29 08:06, Jonathan Arnold wrote:
<snip> a chown jdarnold /data/jdarnold and a chgrp users /data/jdarnold.
Or, you could just have done "chown jdarnold:users /data/jdarnold"
Funny you should mention that - I only recently found out about that chown syntax, and obviously am having a hard time remembering it:-) -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ UNIX is user-friendly. It's just a bit picky about who its friends are. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Darryl Gregorash
-
Jonathan Arnold
-
Robert Smits
-
S Glasoe
-
Sean Craig