LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fstab problem mount partition as user? (https://www.linuxquestions.org/questions/linux-newbie-8/fstab-problem-mount-partition-as-user-396935/)

ethereal9 12-27-2005 02:18 PM

fstab problem mount partition as user?
 
hi thanks for reading my thread.

i did have my fedora core 3 running great and i was able to access partitions from windows xp, but i changed my motherboard and installed fedora core 4 now i cant access the mounted partitions.

because i can access the folder /files/applications when there is nothing mounted but can't access it when i mount the partition i believe my problem is that the partitions are mounted as root

i added this to my fstab to mount the partition

/dev/hdb5 /files/applications ext3 defaults 0 0

i am pretty sure i need to change the defaults to something ?

i would like to allow access to anybody.

thanks for any help
mark

once this is fixed i'll move on to my next problem :-)

Lenard 12-27-2005 02:25 PM

Change the fstab entry (as root) from;

/dev/hdb5 /files/applications ext3 defaults 0 0

to something like;

/dev/hdb5 /files/applications ext3 exec,users,rw 0 0

Please see both 'man mount' and 'man fstab' for the details and other options.

BinJajer 12-27-2005 02:31 PM

Right. I agree, this should help. If it does not, then tell us if the partition is primary or logical. As I said some time ago: FC4 is the main source of problems on LQ.

cuiq 12-27-2005 02:31 PM

Try adding "user" or "users" w/o quotes after "defaults". The "user" switch is for when there is only one user setup on your box (I Think). "users" is for mulituse boxes. Anyway give it a try. it should look like this.

/dev/hdb5 /files/applications ext3 defaults,users 0 0


Peace V:cool:

Oh! I see this was answered above. Sorry for the late post.

ethereal9 01-01-2006 09:38 AM

problem solved
 
thanks to everybody for their prompt replies. i edited my fstab using all of the above tips and all of my partitions mounted correctly.

i could use the file browser and access the partitions through /files/(then the folder name)

only problem was that when i clicked on the network icon it showed all 4 folders okay but when you click on them it said that the folders did not exist. i know that they do because i can browse to then at /files/(folder name)

it turns out that there are bugs in fedora core 4 samba sharing

1. if the firwall is running you can't access the linux computer from windows.

i disabled the firewall and i can see the shared folders on the linux computer but when i click on them i get this folder does not exist error.

2. it has been reported that if the smbd service is run normally as part of the boot process then samba is broken.

if i stop the smbd service and then restart manually with - smbd -D that fixes the folder does not exist problem.

i can now access all 3 computers on my network (2 x windows XP and 1 x Fedora core 4)

it makes me slightly mad that i'll have to disable my firewall and then start smbd manually.

thanks again for your help, i'll never upgrade again :-)

stress_junkie 01-01-2006 03:54 PM

Maybe if you start Samba after all of the disks are mounted it will work.

Check to see what ports are required for Windows shares. This should be in the Samba documentation. Then you can open those ports in the firewall and allow the firewall to keep running.

??? Maybe ???
:)


All times are GMT -5. The time now is 11:38 PM.