Sponsored Content
Full Discussion: mounting vfat...
Special Forums Hardware Filesystems, Disks and Memory mounting vfat... Post 16520 by dimanise on Sunday 3rd of March 2002 08:36:25 PM
Old 03-03-2002
Network 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

Newbie: RH Linux: Mounting vfat as readable

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

Mounting...?

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

Mounting help.

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

mounting windows(vfat) file system

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

Mounting

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

rdiff-backup using escape codes on vfat thumbdrive

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

mounting

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

Mounting

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
SYSTEMD-GPT-AUTO-GENERATOR(8)				    systemd-gpt-auto-generator				     SYSTEMD-GPT-AUTO-GENERATOR(8)

NAME
systemd-gpt-auto-generator - Generator for automatically discovering and mounting /home as well as discovering and enabling swap partitions, based on GPT partition type GUIDs. SYNOPSIS
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator DESCRIPTION
systemd-gpt-auto-generator is a generator that automatically discovers /home and swap partitions and creates mount and swap units for them, based on the the partition type GUIDs of GUID partition tables (GPT). Note that this generator will execute no operation on non-GPT systems, on systems where the units are explicitly configured (for example, listed in fstab(5)) or where the mount point is non-empty. This generator will only look for partitions on the same physical disk the root file system is stored on. This generator has no effect on systems where the root file system is distributed on multiple disks, for example via btrfs RAID. This generator is useful for centralizing file system configuration in the partition table and making manual configuration in /etc/fstab or suchlike unnecessary. This generator looks for swap partitions using GPT type 0657fd6d-a4ab-43c4-84e50933c84b4f4f. It looks for /home partitions using GPT type 933ac7e1-2eb4-4f13-b8440e14e2aef915. systemd-gpt-auto-generator implements the generator specification[1]. SEE ALSO
systemd(1), systemd.mount(5), systemd.swap(5), systemd-efi-boot-generator(8), fstab(5) NOTES
1. generator specification http://www.freedesktop.org/wiki/Software/systemd/Generators systemd 208 SYSTEMD-GPT-AUTO-GENERATOR(8)
All times are GMT -4. The time now is 03:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy