Default permissions for mounted fat32 partition
Results 1 to 3 of 3

Thread: Default permissions for mounted fat32 partition

  1. #1
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    202

    Default permissions for mounted fat32 partition

    My file manager treats executables a little different then non-executables and when I mount a fat32 partition it deafults with rwxr--r-- and I need it to be rw-r--r-- how can I do this?
    Single booting since 11/13/03
    Proudly Canadian
    Desk: Athlon 3000 1gb ram GeforceFX 80+160gb hdd's CD/DVD-RW
    Booting the OS of the future "Linux"
    Distro: Started from Scratch (LFS)
    GUI: BlackBox
    Kernel: 2.6.12

  2. #2
    Join Date
    Feb 2001
    Location
    Adelaide, South Australia
    Posts
    6,447
    I have FreeBSD and not Linux, but I can do that with:

    mount_msdos -m 644 /dev/ad0s1 /mnt/win

  3. #3
    Join Date
    Sep 2001
    Location
    Ireland
    Posts
    990
    You could try
    mount -w -t vfat /dev/hd?# /mntpoint
    or
    mount -o noexec /dev/hd?# /mntpoint

    The -w option in the first mounts the filesystem rw the second -o noexec does not allow the execution of binarys on the mounted filesystem.

    Are your mounts set at boot time by fstab, if they are set to default within fstab that could be your problem, man mount and man mount 8 should point you in the right direction.

    RB

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •