LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Trouble accessing mounted filesystem from user account. (https://www.linuxquestions.org/questions/slackware-14/trouble-accessing-mounted-filesystem-from-user-account-55088/)

DarkXtar 04-14-2003 11:31 PM

Trouble accessing mounted filesystem from user account.
 
I'm running Slacware 9.0 and can't figure out how to mount a
partition of mine with read and execute permisions for all users other than root. When i mount it (mount /dev/hda6 /mnt/dosd) root can read write and execute just fine, but regular users can only list the directories and not enter the subdirectories or access files from within (/mnt/dosc). I've tried the command chmod 755 /mnt/dosc, chmod -R +x /mnt/dosc and even tried mounting it in /usr and /home/... and am all out of ideas I've never had this problem before so any helpfull input on what I'm doing wrong would be GREATLY appreciated.

linuxcool 04-15-2003 01:23 AM

Maybe this thread will help: http://www.linuxquestions.org/questi...&highlight=033

DarkXtar 04-15-2003 10:33 AM

Cool! Thanks.

linuxcool 04-16-2003 12:17 AM

You're welcome. :) :)

Deadbolt 04-29-2003 07:24 PM

Journalized FS partition woes
 
Hey! I'm having the same problem with a Journalized FS, ext3 Partition. I am mounting it fine but as a user, I'm unable to create anything on the partition. Here's the lines from my fstab and mtab. I've checked to make sure that the correct permissions are set on the folder I'm mounting to. Anyone know what my problem is?


fstab
/dev/hda7 /share ext3 defaults 1 2

mtab
/dev/hda7 /share ext3 rw 0 0


Thanks!!!

Excalibur 04-29-2003 09:22 PM

For an ext3 type I can really only suggest two items. First unmount, the partiton, then "chmod 777 /share", and remount. Then follow that by "chmod -R 777 /share". I would think that would allow all users to read/write any existing directories and files on the share. Any new stuff though will be created using the default setting for directories as rwxr-xr-x permissions or regular files would be rw-r--r--. So the owner or root will need to change it after it is created if other users are allowed to write the new tree or files. You could also consider setting a cron job to do it once each day if the system runs 24x7.

Deadbolt 04-29-2003 10:27 PM

Thanks Excalibur! That did it. I had not specified the r/w permissions for /share until after the partition was mounted. I even rebooted and everything still checks out. I don't think I'll need to run a cron...

Cheers!


All times are GMT -5. The time now is 03:15 AM.