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 >> > ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |