03-03-2002
mounting vfat...
Hi,
I have a little and very annoying problem.
I want to mount a partition so that most of the files would be owned by a user, then an ftp dir with special previliges set up, and some of the files having write access for all users.
I can't do it anyhow. Right now i have this line in /etc/fstab:
/dev/hda6 /windows vfat noauto,user,umask=0000
which comes the closest to what i want, but is a huge security risk. The negative sides of this setup is that i have to manually mount the partition every time i login, and that ALL the files have rwx access for all users. And i don't know how to make an ftp dir with different previliges.
If i put auto in /etc/fstab then all the files will be owned by root, which is what i don't want, it will also not allow to execute files.
If i also put exec that still won't solve the problem.
And if i just don't use umask I somehow can't make a file with writable access by all users.
Maybe there's some way i can make a script which would run on startup or login which would mount the partition and set all the needed previliges?
Thanks in advance.
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi there!
I have a question about mounting a file system as readable.
I have the following line in my fstab for that purpose:
/dev/hda1 /mnt/nt vfat defaults 0 0
It mounts the filesystem but I can only read from this, not write :( what do I have to change to make it readable?
TIA! (4 Replies)
Discussion started by: D-Lexy
4 Replies
2. Filesystems, Disks and Memory
Hi everyone, this is the first time I have ever properly used Linux - I run Red Hat Linux 8. I have two hardrives, my main 80gig, and my "extra" 15gig, I would like to be able to gain access to my 15gig and view the files. I know to view files on a floppy disk or a cd you need to mount the... (1 Reply)
Discussion started by: mo0ness
1 Replies
3. UNIX for Dummies Questions & Answers
Hello, I am trying to mount a second scsi hard drive on a SCO box. (5.0.5.) And I can't figure out what the device file for it is so I can mount it. Can anyone help me?
thanks. (1 Reply)
Discussion started by: iconn
1 Replies
4. Solaris
how can i mount windows file system into solaris using vfstab or mount command. also please tell me how to display the partition information. (1 Reply)
Discussion started by: ajoy patel
1 Replies
5. BSD
Hi
I mounted disk which have two partition C: , D: ( i am not sure if both partition have same file system) with this commad:
mount -t msdosfs /dev/ad2s1 /mnt/windows
but this is mounted only first partition with fat file system. ( in windows XP C: )
How can i mount another partition... (2 Replies)
Discussion started by: sniper007
2 Replies
6. Ubuntu
I thought it may be nice to use rdiff-backup to backup my websites to a thumb drive. But all the capital letters are substituted with octal escape codes. How can I over come this?
There are no issues backing up to another ext3 drive.
The source drive is ext3 the thumb drive is vfat mounted... (0 Replies)
Discussion started by: mikemc
0 Replies
7. Filesystems, Disks and Memory
I generally use mount many times to mount an iso image or as a bind between directories or mounting a squash file system. Y does one require root permission to do a mount --bind between two of his own directories or just mount an iso/squash image in directory he owns? Also I wish mount had an... (0 Replies)
Discussion started by: bbala
0 Replies
8. Shell Programming and Scripting
I have a big confusion in mounting........so please tell me whats the exact meaning of it nd do other os have this concept or not? (8 Replies)
Discussion started by: Mac91
8 Replies