Changeset 148314d


Ignore:
Timestamp:
02/10/15 08:04:58 (3 weeks ago)
Author:
Ken Moore <ken@…>
Branches:
master
Children:
bb26a22, b286199
Parents:
51525dc
Message:

Enable using the special UIS and GID flags when mounting FAT filesystems. This prevents the random issues where the auto-detection/use of the user does not function properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pcbsd-utils/pc-sysconfig/daemon/DevDB.h

    rc63250c r148314d  
    5454          QStringList cmds; 
    5555          if(fs=="fat"){  
    56             if(useLocale){ cmds << "mount -t msdosfs -o large,longnames,-m=755,-L=%3 %1 %2"; } 
    57             else{ cmds << "mount -t msdosfs -o large,longnames,-m=755 %1 %2"; } 
     56            if(useLocale){ cmds << "mount -t msdosfs -o large,longnames,-m=755,-L=%3,-u=%4,-g=%5 %1 %2"; } 
     57            else{ cmds << "mount -t msdosfs -o large,longnames,-m=755,-u=%4,-g=%5 %1 %2"; } 
    5858          }else if(fs=="exfat"){ cmds << "mount.exfat-fuse -o uid=%4,gid=%5 %1 %2"; } 
    5959          else if(fs=="ntfs"){  
Note: See TracChangeset for help on using the changeset viewer.