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; --> Hello Everyone, I've been playing with Slack 9.1 for a couple of weeks and I am fine tuning the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello Everyone, I've been playing with Slack 9.1 for a couple of weeks and I am fine tuning the set ups for my hardware devices. I'm new to Slack and Linux and this is the first time I've installed an OS so please be patient!! I'm having lots of fun learning though... I have an Iomega external hard drive that I want to use for back up. I have it installed with no problem, but only the root user can write to it. My fstab file is as follows: /dev/hda2 swap swap defaults 0 0 /dev/hda3 / reiserfs defaults 1 1 /dev/scd0 /cdrom iso9660 noauto,user,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,user,rw 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 /dev/sda1 /mnt/flashcard auto auto,user,rw 0 0 /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). /dev/sdb3/ points to the only partition I am using on my Iomega drive. Why am I not able to read, write or transfer files from the drive as a normal user? I can do it as root, but not as "lucinda". And I can mount the drive as "lucinda". Also, I've set up permissions for my compactflash card drive the same way and I can r/w with no problem as a normal user for that device, but why not for my Iomega? Also, I've managed to enable the scsi emulation for my cdrom, so I am able to get k3b and xcdroast to work with no problem, but is there any way to write directly to the cd rom without using these programs? For example, can I not drag and drop a file from my desktop to the cdrom, or do I always have to go through cdrecord? Or is that just the way Slack/Linux is set up? Thanks for your help, Lucinda |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Lucinda dared to utter, > /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? - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFApoQuL3KiNGOqr6ERAs/lAJwPpQ4O9uumgPjEbsUQh5u5k3Q0JQCeO30H FgB0qWLZLCLhWzwrl7PuR/A= =O3mF -----END PGP SIGNATURE----- |
| |||
| NOTE: This message was sent thru a mail2news gateway. No effort was made to verify the identity of the sender. -------------------------------------------------------- pgp trash troll delete Alan Hicks <alan@lizella.network> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > In alt.os.linux.slackware, Lucinda dared to utter, > > /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? > - -- > It is better to hear the rebuke of the wise, > Than for a man to hear the song of fools. > Ecclesiastes 7:5 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > iD8DBQFApoQuL3KiNGOqr6ERAs/lAJwPpQ4O9uumgPjEbsUQh5u5k3Q0JQCeO30H > FgB0qWLZLCLhWzwrl7PuR/A= > =O3mF > -----END PGP SIGNATURE----- |
| |||
| On 2004-05-15, An Metet <anmetet@freedom.gmsociety.org> wrote: > NOTE: This message was sent thru a mail2news gateway. > No effort was made to verify the identity of the sender. > -------------------------------------------------------- > > pgp trash troll delete > What is this constant, annoying bullshit!!?? ken |
| |||
| Alan Hicks <alan@lizella.netWORK> wrote in message news:<40a68433$1_2@127.0.0.1>... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > In alt.os.linux.slackware, Lucinda dared to utter, > > /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. What permissions would you put on /dev/sdb3? What is the conventional wisdome for devices? |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lucinda said the following on 05/16/04 09:49: | Alan Hicks <alan@lizella.netWORK> wrote in message news:<40a68433$1_2@127.0.0.1>... | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>In alt.os.linux.slackware, Lucinda dared to utter, |> |>>/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. | What permissions would you put on /dev/sdb3? What is the | conventional wisdome for devices? Hi, 1) have u try setting the fstype to auto (autodetect) rather than ext3? 2) if your last mount for that drive is using root, I suggest you detach then attach the device, reason being that all permission on that drive will becomes only accessible to root, you will have a permission denied error even if you managed to mount it successfully. and it doesn't matter if your have set the permission to 777 for the device, during mount time, the permission will change depending on the environment. good luck. - -- Best regards, Wong Kum Weng, Andrew +----------------------------------------------------------------------+ ~ Keep away from people who try to belittle your ambitions. Small people ~ always do that, but the really great ones make you feel that you too, ~ can become great. -- Mark Twain +----------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAptaq1bXyj+2X4JERAhUzAKCCF4TMbBoliEmUbcSN61 ZFr4c7rgCgmqzE 1z5F6YrrcllsPtGGTWWGENQ= =PQtL -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lucinda said the following on 05/16/04 09:49: | Alan Hicks <alan@lizella.netWORK> wrote in message news:<40a68433$1_2@127.0.0.1>... | |>-----BEGIN PGP SIGNED MESSAGE----- |>Hash: SHA1 |> |>In alt.os.linux.slackware, Lucinda dared to utter, |> |>>/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. | What permissions would you put on /dev/sdb3? What is the | conventional wisdome for devices? Hi, just a suggestion, have u try setting the fstype to auto (autodetect) rather than ext3? - -- Best regards, Wong Kum Weng, Andrew +----------------------------------------------------------------------+ ~ Keep away from people who try to belittle your ambitions. Small people ~ always do that, but the really great ones make you feel that you too, ~ can become great. -- Mark Twain +----------------------------------------------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAptju1bXyj+2X4JERAgEIAJwNGIxIrzwmGWgoSdgONn n5ZYKYJQCePgT9 9d3C5XmxzFf7QOGw5egynaI= =LaUq -----END PGP SIGNATURE----- |
| |||
| NOTE: This message was sent thru a mail2news gateway. No effort was made to verify the identity of the sender. -------------------------------------------------------- pgp trash troll delete Wong Kum Weng <jinrong@bigfoot.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Lucinda said the following on 05/16/04 09:49: > | Alan Hicks <alan@lizella.netWORK> wrote in message > news:<40a68433$1_2@127.0.0.1>... > | > |>-----BEGIN PGP SIGNED MESSAGE----- > |>Hash: SHA1 > |> > |>In alt.os.linux.slackware, Lucinda dared to utter, > |> > |>>/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. > | What permissions would you put on /dev/sdb3? What is the > | conventional wisdome for devices? > Hi, > 1) have u try setting the fstype to auto (autodetect) rather than ext3? > 2) if your last mount for that drive is using root, I suggest you detach > then attach the device, reason being that all permission on that drive will > becomes only accessible to root, you will have a permission denied error > even if you managed to mount it successfully. and it doesn't matter if your > have set the permission to 777 for the device, during mount time, the > permission will change depending on the environment. > good luck. > - -- > Best regards, > Wong Kum Weng, Andrew > +----------------------------------------------------------------------+ > ~ Keep away from people who try to belittle your ambitions. Small people > ~ always do that, but the really great ones make you feel that you too, > ~ can become great. > -- Mark Twain > +----------------------------------------------------------------------+ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > iD8DBQFAptaq1bXyj+2X4JERAhUzAKCCF4TMbBoliEmUbcSN61 ZFr4c7rgCgmqzE > 1z5F6YrrcllsPtGGTWWGENQ= > =PQtL > -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In alt.os.linux.slackware, Lucinda dared to utter, > 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. And everything works as root, but not as a normal user? That's very unusual, and I'm not sure what you've done to create this problem. Have you tried creating an image file of the drive's contents using "dd"? If you can do that, try loopback mounting it and see what you get. Warning, that image could take up a hella lota space. > What permissions would you put on /dev/sdb3? What is the > conventional wisdome for devices? alan@carrier~# ls -l /dev/sdb3 brw-r----- 1 root disk 8, 19 Apr 29 1995 /dev/sdb3 - -- It is better to hear the rebuke of the wise, Than for a man to hear the song of fools. Ecclesiastes 7:5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAp5I5L3KiNGOqr6ERAlnMAJ94dxQnN3CpWMqh5K6LlK I5GZxquQCfa8fr tGl316WwU41PVCyar7yT9FE= =QVcd -----END PGP SIGNATURE----- |
| ||||
| NOTE: This message was sent thru a mail2news gateway. No effort was made to verify the identity of the sender. -------------------------------------------------------- pgp trash troll delete Alan Hicks <alan@lizella.network> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > In alt.os.linux.slackware, Lucinda dared to utter, > > 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. > And everything works as root, but not as a normal user? That's very > unusual, and I'm not sure what you've done to create this problem. Have > you tried creating an image file of the drive's contents using "dd"? If > you can do that, try loopback mounting it and see what you get. > Warning, that image could take up a hella lota space. > > What permissions would you put on /dev/sdb3? What is the > > conventional wisdome for devices? > alan@carrier~# ls -l /dev/sdb3 > brw-r----- 1 root disk 8, 19 Apr 29 1995 /dev/sdb3 > - -- > It is better to hear the rebuke of the wise, > Than for a man to hear the song of fools. > Ecclesiastes 7:5 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > iD8DBQFAp5I5L3KiNGOqr6ERAlnMAJ94dxQnN3CpWMqh5K6LlK I5GZxquQCfa8fr > tGl316WwU41PVCyar7yT9FE= > =QVcd > -----END PGP SIGNATURE----- |