Proper way to mount a fat32 share

I've seen so many different ways to mount my windows share in fstab with various (to no) options - users, async, dev, etc.
Problem:
My Documents, My Pictures, and all those other My directories will have the root write permission flag stripped in linux when I boot back and forth.  As best I can tell, any of those window directories which have a unique picture icon embedded in them will change that root level write flag.  If in XP, I keep those directories with a normal folder icon, the w flag will be persistent between boots.
Anyone else have this problem?  If not, all I want to do is r/w and have normal user mount the fat32 share.  Can somebody help me with the fstab entry?

Thanks, lucke.  Works great.
I'm still having problems with mounting options I think, or Windows XP in general.  Here's the icon/permission dilemna:
skoal@morpheus:///mnt/windows/My Documents $ ls -ald My\ *
dr-xr-xr-x 7 root users 16384 2007-09-02 15:12 My Backups
dr-xr-xr-x 9 root users 16384 2007-09-02 15:20 My Downloads
drwxrwxr-x 3 root users 16384 2007-05-17 06:18 My Games
dr-xr-xr-x 6 root users 16384 2007-09-02 15:15 My Music
dr-xr-xr-x 5 root users 16384 2007-09-02 15:15 My Pictures
dr-xr-xr-x 2 root users 16384 2007-09-02 15:09 My Received Files
drwxrwxr-x 6 root users 16384 2007-07-15 16:50 My Videos
skoal@morpheus:///mnt/windows/My Documents $ touch hello
touch: cannot touch `hello': Permission denied
skoal@morpheus:///mnt/windows/My Documents $ cd My\ Pictures/
skoal@morpheus:///mnt/windows/My Documents/My Pictures $ touch hello
touch: cannot touch `hello': Permission denied
1. Strangely enough, as root I can r/w to even directories marked with w- on them, like My Downloads for example.
2. However, as skoal, I cannot.
3. When I change permissions on w- flagged paths to w+, chmod 775 My\ Downloads, it will work for skoal (in that folder).
4. But from 3, when I go back to XP, the system icons for those My folders marked with w+ will have a missing icon now.  And I have to rerun "rundll32 mydocs.dll,PerlUserInit" to get them back.
Any ideas?

Similar Messages

  • Proper way of mounting external hard drive - fstab rules?

    I have an external hard drive with all my music on it, and I want MPD to play this music. Now I was wondering how best to mount my external, such that MPD can actually access the music.
    I was told to create an fstab entry with the UUID of my external to have it being mounted to a fixed spot. But this only works during boot up, correct?
    What should I do, if I plug in the external after boot up? Is there a way to have it automounted to the same fixed spot as defined in fstab (maybe even using fstab)?

    As iBertus mentioned, you can use the automount features of different desktops. XFCE includes the Thunar file manager which can also be used in other lightweight desktops.
    If on the command line, pmount will let you mount the drive as a normal user, and without any fstab entries. This command will mount USB device sdb1  to /media/Stalafin.
    pmount /dev/sdb1 Stalafin]
    The cool thing about pmount is that if the drive/partition is encrypted with LUKS, you can throw other options at it and it will decrypt and mount at the same time.

  • Proper way to make bulk changes the Owner ID, Path and file share credentials for my existing subscriptions, ExtensionSettings

    We are going through with an upgrade/migration to SSRS 2012 and moving everything to a different domain. We have about 200 active subscriptions running, the reports are being delivered to a file share.  What is the correct way, in bulk, to change
    the OwnerId, the Path and the FileShare Username password credentials for these subscriptions?  I see these values are being stored in Subscriptions > ExtensionSettings.  I see that the file share path and Owner wouldn't be a problem to change,
    but since I see the file share credentials are encrypted I would not be able change them directly in ExtensionSettings.  Anyone know the proper way to change the Owner ID, Path and file share credentials for my existing subscriptions without having to
    change each one of them manually in the report manager?
    Note: Reporting Services Native upgrade from SSRS 2005 to SSRS 2012.
    Thanks in advance.

    Hi Cygnus46,
    Based on my understanding, you want to change the Owner ID, Path and file share credentials for all existing subscriptions.
    In Reporting Services, the subscription information are stored in the Report Server database. In your scenario, you can go to report server database and run the query to list all the subscriptions, then modify the owner and fileshare paths in the subscriptions
    table. For more information, please refer to this article: Tip: Change the Owner of SQL Reporting Services Subscription. If you want to change
    the file share credentials for subscriptions, you can run the query provided by
    wiperzeus from this similar thread:
    Windows File Share Delivery/ SSRS 2008 R2.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to allow users to mount a Samba shares on a WXP

    Through lots of reading I've managed to get an understanding of how to mount SMB shares at bootup by placing the proper edits in /etc/fstab. While having the shares of the server, running Contribs.org SME Server 6.01 (recently known as Mitel SME Server) and acting as a samba server, being mounted at startup is perfect since the server is always on. This is not the best idea for the XP workstation since it isn't always on. Here is a copy of my present fstab file with x's replacing the passwords.
    fstab               [B---]  0 L:[  1+19  20/ 21] *(1085/1086b)= .  10 0x0A
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /proc         proc      defaults            0      0
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    tmpfs                  /tmp          tmpfs     defaults            0      0
    sysfs                  /sys          sysfs     defaults            0      0
    usbdevfs               /proc/bus/usb usbdevfs  defaults            0      0
    /dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
    /dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
    /dev/floppy/0          /mnt/fl   vfat      user,noauto,unhide      0      0
    //192.168.2.2/stuff    /mnt/silicon2 smbfs username=kingnubian,password=xxxxxxx,user
    //192.168.2.105/e-smith   /mnt/silicon1 smbfs username=kingnubian,password=xxxxxxx,users,noauto
    /dev/discs/disc0/part5 swap swap defaults 0 0
    /dev/discs/disc0/part1 / xfs defaults 0 1
    I would like users with an account on the Linux box to mount the remote share on the XP box without needing to SU and consequently need the root password. When trying now to mount "e-smith" (The share on the XP box) as a user using "mount /mnt/silicon1" I get a message about needing to be SU.

    To allow users to mount smb shares you need to make smbmnt suid:
    # chmod +s /usr/bin/smbmnt
    Note however that the user needs to own the directory used as mountpoint. So I don't know how to make 'mount /mnt/silicon1' in your setup work for all users.
    For the users to be able to unmount the smb shares as well you need:
    # chmod +s /usr/bin/smbumount
    Now users can do 'smbmount //server/share mountpoint -o username=whatever' or simply 'mount mountpoint' if the details are specified in fstab. To unmount root can do 'umount mountpoint' or users can do 'smbumount mountpoint'.
    Don't confuse smbmount with smbmnt - the first is the command you use to mount shares manually, the second is the one that should be suid and is used both by smbmount and by mount -t smb.
    Hope this helps.
    -bogomipz

  • Cannot mount multiple CIFS shares in /home

    I have 2 users, Joe and Fred, who each have their own directory in /home.  I also have a Netapp filer with a CIFS share called CorpData, which has subdirectories for Joe and Fred.
    On the Arch Linux box, I have this for my fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda1
    UUID=d93def89-7611-43c8-a74f-e20bee64bd7e / ext4 rw,relatime 0 1
    //10.1.1.141/CorpData/joe /home/joe cifs credentials=/etc/credentials,noserverino,_netdev,uid=joe,gid=users 0 0
    //10.1.1.141/CorpData/fred /home/fred cifs credentials=/etc/credentials,noserverino,_netdev,uid=fred,gid=users 0 0
    The problem is that at boot time, Joe's directory will be mounted, but Fred's will not.  The reverse is true if I reverse the two entries in fstab.
    If I issue the "mount -a" command after logging in, the second mount does get mounted, but also generates this error message:
    mount error(16): Device or resource busy
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    I did refer to man mount, but since only the second mount is failing, I don't know what I could try differently.  There are many more directories in CorpData, so I don't want to just mount that entire share on /home.

    Looking into this further, it seems that the server is not able to accept the second request so quickly after the first.  Is there any way to insert a delay or sleep command between the two mount entries in fstab?

  • Trying to resolve ntlmv errros mounting CIFS network shares via fstab

    Kernel: 3.4.2-2
    WM: Openbox
    About 6 months or so ago, which was after about a year on my current install with no issue, I began getting an ntlmv error when auto mounting samba shares at
    boot.  Everything still worked but I continued getting an error message.
    My fstab entry at that time looked like this:
    //<LAN_IP>/<share name>/ /mnt/Serverbox cifs credential=/path/to/file,file_mode=0777,dir_mode=0777 0 0
    The error I recieved looked like this:
    CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
    So I did what research I could on the error, found the "sec" option and discovered that adding the "sec=ntlmv2" option to my above noted fstab entry got
    rid of the error message and everything still worked perfectly; that is until this weekend.
    After upgrading both machines this weekend I noticed a new boot time error message and saw that my shares were no longer being mounted.
    relevant boot log:
    Mounting Network Filesystems [BUSY] mount error(22): Invalid argument
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    relevant everything log:
    CIFS VFS: bad security option: ntlmv2
    /var/log/pacman from the the weekend's upgrade:
    [2012-06-16 13:03] Running 'pacman -Syu'
    [2012-06-16 13:03] synchronizing package lists
    [2012-06-16 13:03] starting full system upgrade
    [2012-06-16 13:10] removed dbus-python (1.0.0-1)
    [2012-06-16 13:10] upgraded linux-api-headers (3.3.2-1 -> 3.3.8-1)
    [2012-06-16 13:10] Generating locales...
    [2012-06-16 13:10] en_US.UTF-8... done
    [2012-06-16 13:10] en_US.ISO-8859-1... done
    [2012-06-16 13:10] Generation complete.
    [2012-06-16 13:10] upgraded glibc (2.15-10 -> 2.15-11)
    [2012-06-16 13:10] upgraded bison (2.5-3 -> 2.5.1-1)
    [2012-06-16 13:10] upgraded libpng (1.5.10-1 -> 1.5.11-1)
    [2012-06-16 13:10] upgraded cairo (1.12.2-1 -> 1.12.2-2)
    [2012-06-16 13:10] upgraded libwbclient (3.6.5-2 -> 3.6.5-3)
    [2012-06-16 13:10] upgraded cifs-utils (5.4-1 -> 5.5-1)
    [2012-06-16 13:10] upgraded sqlite (3.7.12.1-1 -> 3.7.13-1)
    [2012-06-16 13:10] upgraded colord (0.1.21-1 -> 0.1.21-2)
    [2012-06-16 13:10] installed pambase (20120602-1)
    [2012-06-16 13:10] upgraded pam (1.1.5-3 -> 1.1.5-4)
    [2012-06-16 13:10] upgraded libcups (1.5.3-4 -> 1.5.3-5)
    [2012-06-16 13:10] upgraded cups (1.5.3-4 -> 1.5.3-5)
    [2012-06-16 13:10] installed python-dbus-common (1.1.0-2)
    [2012-06-16 13:10] installed python2-dbus (1.1.0-2)
    [2012-06-16 13:10] upgraded dconf (0.12.1-1 -> 0.12.1-2)
    [2012-06-16 13:10] upgraded desktop-file-utils (0.19-1 -> 0.20-1)
    [2012-06-16 13:10] upgraded firefox (13.0-2 -> 13.0.1-1)
    [2012-06-16 13:10] upgraded freetype2 (2.4.9-2 -> 2.4.10-1)
    [2012-06-16 13:10] upgraded initscripts (2012.05.1-3 -> 2012.06.1-1)
    [2012-06-16 13:10] upgraded jre7-openjdk-headless (7.u4_2.2-1 -> 7.u5_2.2.1-1)
    [2012-06-16 13:10] upgraded jre7-openjdk (7.u4_2.2-1 -> 7.u5_2.2.1-1)
    [2012-06-16 13:10] upgraded jdk7-openjdk (7.u4_2.2-1 -> 7.u5_2.2.1-1)
    [2012-06-16 13:10] upgraded kdelibs (4.8.4-1 -> 4.8.4-2)
    [2012-06-16 13:10] upgraded libdrm (2.4.33-1 -> 2.4.35-1)
    [2012-06-16 13:10] upgraded libglapi (8.0.3-2 -> 8.0.3-3)
    [2012-06-16 13:10] upgraded liblrdf (0.4.0-9 -> 0.5.0-1)
    [2012-06-16 13:10] upgraded libmysqlclient (5.5.24-1 -> 5.5.25-1)
    [2012-06-16 13:10] installed khrplatform-devel (8.0.3-3)
    [2012-06-16 13:10] installed libegl (8.0.3-3)
    [2012-06-16 13:10] upgraded nvidia-utils (295.53-1 -> 295.59-1)
    [2012-06-16 13:10] upgraded libva (1.0.15-1 -> 1.1.0-1)
    [2012-06-16 13:10] upgraded mkinitcpio (0.9.1-1 -> 0.9.2-2)
    [2012-06-16 13:10] >>> Updating module dependencies. Please wait ...
    [2012-06-16 13:10] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-06-16 13:10] ==> Building image from preset: 'default'
    [2012-06-16 13:10] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-06-16 13:10] ==> Starting build: 3.4.2-2-ARCH
    [2012-06-16 13:10] -> Running build hook: [base]
    [2012-06-16 13:10] -> Running build hook: [udev]
    [2012-06-16 13:10] -> Running build hook: [autodetect]
    [2012-06-16 13:10] -> Running build hook: [pata]
    [2012-06-16 13:10] -> Running build hook: [scsi]
    [2012-06-16 13:10] -> Running build hook: [sata]
    [2012-06-16 13:10] -> Running build hook: [filesystems]
    [2012-06-16 13:10] -> Running build hook: [usbinput]
    [2012-06-16 13:10] -> Running build hook: [fsck]
    [2012-06-16 13:10] ==> Generating module dependencies
    [2012-06-16 13:10] ==> Creating xz initcpio image: /boot/initramfs-linux.img
    [2012-06-16 13:10] ==> Image generation successful
    [2012-06-16 13:10] ==> Building image from preset: 'fallback'
    [2012-06-16 13:10] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-06-16 13:10] ==> Starting build: 3.4.2-2-ARCH
    [2012-06-16 13:10] -> Running build hook: [base]
    [2012-06-16 13:10] -> Running build hook: [udev]
    [2012-06-16 13:10] -> Running build hook: [pata]
    [2012-06-16 13:10] -> Running build hook: [scsi]
    [2012-06-16 13:10] -> Running build hook: [sata]
    [2012-06-16 13:10] -> Running build hook: [filesystems]
    [2012-06-16 13:10] -> Running build hook: [usbinput]
    [2012-06-16 13:10] -> Running build hook: [fsck]
    [2012-06-16 13:10] ==> Generating module dependencies
    [2012-06-16 13:10] ==> Creating xz initcpio image: /boot/initramfs-linux-fallback.img
    [2012-06-16 13:11] ==> Image generation successful
    [2012-06-16 13:11] upgraded linux (3.3.8-1 -> 3.4.2-2)
    [2012-06-16 13:11] upgraded lirc-utils (1:0.9.0-16 -> 1:0.9.0-18)
    [2012-06-16 13:11] upgraded mesa (8.0.3-2 -> 8.0.3-3)
    [2012-06-16 13:11] upgraded mysql-clients (5.5.24-1 -> 5.5.25-1)
    [2012-06-16 13:11] upgraded mysql (5.5.24-1 -> 5.5.25-1)
    [2012-06-16 13:11] upgraded nvidia (295.53-1 -> 295.59-1)
    [2012-06-16 13:11] upgraded opencl-nvidia (295.53-1 -> 295.59-1)
    [2012-06-16 13:11] upgraded pango (1.30.0-1 -> 1.30.1-1)
    [2012-06-16 13:11] upgraded pcmanfm (0.9.10-1 -> 0.9.10-2)
    [2012-06-16 13:11] upgraded psmisc (22.16-1 -> 22.17-1)
    [2012-06-16 13:11] upgraded smbclient (3.6.5-2 -> 3.6.5-3)
    [2012-06-16 13:11] upgraded thunderbird (13.0-1 -> 13.0.1-1)
    [2012-06-16 13:11] upgraded udisks2 (1.94.0-1 -> 1.94.0-2)
    [2012-06-16 13:11] upgraded unrar (4.2.3-1 -> 4.2.4-1)
    [2012-06-16 13:11] upgraded virtualbox-archlinux-modules (4.1.16-1 -> 4.1.16-2)
    [2012-06-16 13:11] In order to use the new version, reload all virtualbox modules manually.
    [2012-06-16 13:11] upgraded virtualbox-modules (4.1.16-1 -> 4.1.16-2)
    [2012-06-16 13:11] upgraded xine-ui (0.99.6-5 -> 0.99.7-1)
    [2012-06-16 13:11] Running 'pacman -Syy'
    [2012-06-16 13:11] synchronizing package lists
    [2012-06-16 13:12] Running 'pacman -Syu'
    [2012-06-16 13:12] synchronizing package lists
    [2012-06-16 13:12] starting full system upgrade
    [2012-06-16 13:13] upgraded lib32-freetype2 (2.4.9-1 -> 2.4.10-1)
    [2012-06-16 13:13] upgraded lib32-gnutls (3.0.19-1 -> 3.0.20-1)
    [2012-06-16 13:13] upgraded lib32-krb5 (1.10.1-2 -> 1.10.2-1)
    [2012-06-16 13:13] upgraded lib32-libpng (1.5.10-2 -> 1.5.11-1)
    [2012-06-16 13:13] upgraded lib32-libx11 (1.4.99.902-1 -> 1.5.0-1)
    [2012-06-16 13:13] upgraded lib32-nvidia-utils (295.53-1 -> 295.59-1)
    [2012-06-16 13:13] upgraded lib32-sqlite3 (3.7.11-1 -> 3.7.13-1)
    [2012-06-16 13:13] upgraded lib32-util-linux (2.21.1-1 -> 2.21.2-1)
    [2012-06-16 13:13] upgraded lib32-xcb-util (0.3.8-1 -> 0.3.9-1)
    [2012-06-16 13:13] upgraded wine (1.5.5-1 -> 1.5.6-1)
    Currently returning to the old fstab entry once again gives the initial error code about the security mechanism being upgraded in kernal release x.x (it always seemed to change with each kernel change) though the shares seem to mount just fine. I've looked through the wiki, man pages on die.net and googled everything I can think of and I find a lot pages mentioning ntlmv errors with no solutions, many telling me that ntlmv and ntlmv2 are mount options, but nothing that gives me any indication on why I might be getting this error or how to go about looking for a solution.
    I've looked through the pacman logs on both my desktop and my file server that I'm connecting to in an effort to determine what might have changed and I found that:
    the smbclient had been upgraded on both machines so I tried downgrading back to version 3.6.5-2 but there was no change when rebooting.
    I also found cifs-utils had been upgraded on the file server.  So I downgraded that as well to the previous version (5.4-1), rebooted both machines and I'm still getting the same invalid arguement error.
    I've now gone back and upgraded to the most recent versions of the downgraded packages on each machine but I'm at a loss as to what my next steps should be.  Where do I go from here to track this down and determine if this is a bug or configuration error.  Is there a cleaner way of mounting these shares that I should be using instead of fstab?
    Thank you.

    I had the same issue. After upgrading kernel to 3.4.5 today the cifs share mounted with original fstab settings. I believe it was caused by this bug:
    kernel changelog wrote:    The double delimiter check that allows a comma in the password parsing code is
        unconditional. We set "tmp_end" to the end of the string and we continue to
        check for double delimiter. In the case where the password doesn't contain a
        comma we end up setting tmp_end to NULL and eventually setting "options" to
        "end". This results in the premature termination of the options string and hence
        the values of UNCip and UNC are being set to NULL. This results in mount failure
        with "Connecting to DFS root not implemented yet" error.

  • Is there a way of mounting a server without it opening a window??

    I am administering 40 emacs attached to an XSERVE G5. When the emac users go to open a large volume off the XSERVE with about 200 folders on it, a finder window automatically opens but then it can take up to 10 minutes before the window contents are shown. During this time the user is faced with 'beachball' and work halts.
    Force-quitting the finder stops this and server remains connected, but I am looking for a better way of doing this.
    Is there anyway in which this automatic opening can be supressed?
    I have also posted this on the Panther forum
    Lewis

    Two solutions: one pretty but might be annoying and one useful but not many users want to dirty their hands with CLI.
    Solution 1: Move all folders for the share into One folder. So on initial mount of the Share, there is only one folder to 'display'.
    Solution 2: There are command lines to mount shares, such as
    `mount volume "afp://SERVERANME/sharename"`
    This would mount that share and NOT pop-up a finder window. The CLI ickyness could be overcome with applescript, such as
    `osascript -e "try" -e "mount volume \"afp://SERVERANME/sharename\"" -e "end try"`
    and these can be added to startup scripts or made into applets so the flexibility is there.
    Peter

  • How can a mount a NFS share exported from OpenBSD?

    Hello Apple Discussions:
    I've been experimenting with NFS in a mixed OS environment, and have been successful exporting nfs share with tigerserver, and mounting it on both a powerpc linux system, and on a powerpc openBSD system.
    Likewise, I can export a NFS share from the linux powerpc box, and mount it on the openBSD box and on the tigerserver, although, the latter required using the options (ro,sync,insecure) in my exports file.
    However, when I export a share on the OpenBSD box, I can mount it on the linux box, but not on tigerserver.
    I would like for the OpenBSD box to export a NFS share securely, with read-write permissions, to the tigerserver.
    After reading so many tutorials, that it would be a page of links, just to list them all, I am pulling my hair out. However, I have found one thread that suggests, that perhaps what I'm trying to do is impossible:
    http://www.bsdforums.org/forums/showthread.php?t=54308
    Here it is suggested that the NFS won't work because tigerserver is not using UTF-8?
    I will have to say, that I was somewhat alarmed, that the only times I succeeded in mounting an nfs share exported from linux onto tigerserver, it was when the "insecure" option is used in the /etc/exports file. There doesn't seem to be an equivalent for the linux style exports option "insecure", in the bsd style options of --maproot=user:group1:group2.
    But I don't like using any options that say "insecure" anyways, so rather than trying to find out how to make openbsd "insecure", I would rather like to find out if there is a way to get tigerserver using UTF-8, at least when mounting NFS shares, if this is indeed the issue.
    Here are the more technical details. I've created a user on all sytems named "fives" with the userid of 5555 and the groupid of 5555. I made the user local user in the local net info domain, but I've tried it with an LDAP user as well. The folders I wish to export and the folders into which to mount them are all owned by user fives and group fives, and have permissions set to 0775. The ip addresses are OpenBSD=192.168.222.111 TigerServer=192.168.222.233 LinuxPPC=192.168.222.253. I've included the relevant NFS setup files and running processes below:
    ON THE OPENBSD BOX:
    #/etc/exports
    /fives -alldirs -network=192.168.222.0 -mask=255.255.255.0
    /exports/fives -mapall=fives:fives 192.168.222.233 192.168.222.253
    #/etc/hosts.deny
    ALL: ALL
    #/etc/hosts.allow
    ALL: 192.168.222.233 192.168.222.253
    #/etc/rc.conf.local
    portmap=YES
    lockd=YES
    nfs_server=YES
    #here's proof that the daemons are running on the OpenBSD box;
    rpcinfo -p localhost
    program vers proto port
    100000 2 tcp 111 portmapper
    100000 2 udp 111 portmapper
    100005 1 udp 863 mountd
    100005 3 udp 863 mountd
    100005 1 tcp 613 mountd
    100005 3 tcp 613 mountd
    100003 2 udp 2049 nfs
    100003 3 udp 2049 nfs
    100003 2 tcp 2049 nfs
    100003 3 tcp 2049 nfs
    100021 1 udp 895 nlockmgr
    100021 3 udp 895 nlockmgr
    100021 1 tcp 706 nlockmgr
    100021 3 tcp 706 nlockmgr
    # actually, I don't see statd, but haven't found the equivalent in openbsd. There's rpc.rstatd, and maybe it should be listed here, but there doesn't seem to be a way to launch it directly. This is a competitor with the UTF-8 theory about why it's not working.
    ON THE TIGER SERVER:
    # here's proof that tiger server sees the mounts:
    showmount -e 192.168.222.111
    Exports list on 192.168.222.111:
    /fives 192.168.222.0
    /exports/fives 192.168.222.233 192.168.222.253
    # here's the result of user fives' attempt at mounting a share:
    sudo mount -t nfs 192.168.222.111:/exports/fives /imports/fives
    mount_nfs: /imports/fives: Permission denied
    # yet user fives has no problem mounting same share on linuxppc box.
    What is different about OSX server? I thought it was supposed to speak NFS?
    ---argh... I'm steppin out for a pint.. Hopefully when I'm back it'll just work.

    One thing not mentioned is that if you decide on the multiple user approach, you can have your music folder in Shared Documents so you only store the tracks once.
    Each user is free to choose which of those tracks they want in their library.
    There is an Apple help article on multiple users.
    http://docs.info.apple.com/article.html?artnum=300432

  • How Do I find out what app is auto-mounting a network share and stop it?

    I have a new laptop, the 13" rMBP.  I installed Steam and wanted to use the network share on my server to store the game files.  Everything went OK.  I closed Steam, disconnected the share and shutdown my laptop.  When I opened my laptop later on at work, it started to try and mount the network share.It keeps on going it.  I removed the Steam app and all files related to Steam that I could find.  I've looked at fstab, auto_home, auto_master and a large list of other files and directories and I *still* cannot find the offending file that's auto-mounting the share.  It's really frustrating.
    The share auto-mounts when I am home but not on the desktop or in finder.  I find it by looking at /Volumes/ in terminal.  If I mount the share manually under /Volumes/ it shows as Games-1 and mounts on the desktop under Games.
    Does anyone have any ideas on where I should be looking to find the offending process/file/daemon?
    Thank you!
    Trevor

    thanks for the reply but are you sure about this? What difference would it make? Why 5 apps?
    Even if it does work, which I doubt, at some point, I will have to resync ALL my apps again and surely the same thing will happen again, and I will be none the wiser. I still won't know which app it is. There must be a way of finding this out.
    Any ideas?
    What is really freaking me out is how it is connecting to my carrier (who is charging me) with Cellular data switched off.......?
    Thanks again.

  • Proper way to write a Renderer?

    Why does this JTable show up with all three rows showing "Here". I only wanted the first one to. What is the proper way to write a JLabel renderer so that when I update a cell, it won't update the rest of the cells?
    import javax.swing.*;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    import java.awt.*;
    public class post extends JFrame {
    private class JLabelRenderer extends JLabel implements TableCellRenderer {
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus,
    int row, int column) {
    if (value instanceof String) this.setText((String) value);
    return this;
    private post() {
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    this.setSize(300, 300);
    final DefaultTableModel model = new DefaultTableModel(3, 1);
    JTable jtable = new JTable(model);
    jtable.getColumnModel().getColumn(0).setCellRenderer(new JLabelRenderer());
    jtable.setRowHeight(20);
    JScrollPane pane = new JScrollPane(jtable);
    this.getContentPane().add(pane);
    this.show();
    // Just update the FIRST cell of the FIRST ROW.
    jtable.setValueAt("Here", 0, 0);
    public static void main(String[] args) {
    post blah = new post();

    Every cell shares the same renderer. So once you set a property of the renderer, all cells use that property.
    You use the setText() method to set the label to "Here", but it is never reset to another value. Try:
    if (value instanceof String) this.setText((String) value);
    else this.setText("");
    However, here is a better example of how to write a Renderer:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class HexCellRenderer extends DefaultTableCellRenderer
         private static final Color hexBackground = Color.cyan;
         public Component getTableCellRendererComponent(JTable table,
                                        Object value,
                                        boolean isSelected,
                                        boolean hasFocus,
                                        int row,
                                        int column)
              super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
              setBackground( hexBackground );
              setHorizontalAlignment( CENTER );
              return this;
    }You should extend DefaultTableCellRenderer, which extends JLabel. The DefaultTableCellRenderer already sets the text of the label so your don't have to worry about it.

  • Mounting an NFS share

    Hi,
    I'm attempting to mount an NFS share and having no success.  Regardless of the settings I try, the Finder still denies me access to the NFS share, even though it mounts fine.  I seem to have no read or write access to the share.
    I've tried exporting the share (in /etc/exports on the server machine) in two ways: with
    /home/REDACTED/share     REDACTED/28(rw,sync,all_squash)
    And
    /home/REDACTED/share     REDACTED/28(rw,sync,insecure,all_squash,anonuid=1001,anongid=1001)
    In the second example, the anonuid and anongid are those of the shared folder's owner and group.  I added "insecure" because a how-to on the web claims that OS X won't work with any shares that don't have this specified.
    With either of these settings applied, Disk Utility verifies the existence of the share, and mounts it.  However, I can neither read files within, or add files to, the shared folder.  The error produced is:
    The folder “share” can’t be opened because you don’t have permission to see its contents.
    I have tried the following Advanced Mount Parameters, each to no effect:
    nodev resvport nolocks locallocks intr soft wsize=32768 rsize=3276
    nodev nosuid resvport nolocks locallocks intr soft wsize=32768 rsize=3276 ro
    nodev,nosuid,resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276
    nodev,nosuid,resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276 ro
    resvport,nolocks,locallocks,intr,soft,wsize=32768,rsize=3276
    -i,-s,-w=32768,-r32768
    -P
    I'd rather not employ SAMBA, and the Apple File Sharing package for my server's OS (Ubuntu 11.10) appears to be bugged currently.  Besides, NFS would be a far neater solution.
    Any helpful advice?
    S.

    Scotch_Brawth wrote:
    I've simply come at NFS as being the most appropriate file-sharing implementation for my needs - it supports automatic mounting at boot using tech native to both my Linux OS and OS X. 
    That is part of the problem. NFS is designed for environments where all servers are mounted (by root) at boot time and permissions are managed via NIS or LDAP. That is the default setting. If you are using something else, it requires some hacking.
    I've had SAMBA working in the past, but I guess a certain air of contamination creeps in when using a Windows protocol to allow interaction between two UNIXy systems.
    Plus, you would now have two different 3rd party reverse-engineered reimplementations of a foreign protocol.
    AFP would be great, but despite receiving support on the Ubuntu forums and IRC, I failed to get it to work - it may be bugged; which would not be surprising, as 11.10 (with Kernel 3) has proved problematic in several other ways.
    Perhaps Ubuntu is targeted more towards desktop rather than server usage. About the time I last played with NFS, I also played with Netatalk - with disastrous results. Supposedly Netatalk is better now. It's authors would be more than happy to sell you a support package.
    I did use the default settings - they failed to allow a working NFS share.  I then applied the variety of settings as recommended by apparently knowledgeable people.  Still no success.  I have read that UID/GID settings are an important aspect of NFS, but the issue in this case (as far as I understand it) is that all UID/GIDs below 1000 are privileged in Ubuntu 11.10, whilst on OS X these are below 501.  So, the choice is either to give the shared folder owner a privileged UID/GID pair, or change the UID/GID of my Mac users to meet the NFS servers needs - not something I'm happy to do for so small a gain.
    You can create a throwaway account on the Mac and just reset the GID/UID to values equal to an account on the Linux machine. That would establish that it is properly working in the default configuration. Then you could edit /etc/idmapd.conf.
    For that reason, I use the "all_squash" option, because the share in question is not for anything remotely critical and the data to be transferred and stored is both worthless and transitory.
    Since all_squash maps everything to nobody, you would have to hack up the permissions on the server to make everything world writeable. I think it will work with /etc/idmapd.conf and without all_squash.
    I know nothing about NFS other than that its capabilities and integration meet my needs.
    Just what are your needs? If the data is worthless and not critical then Netatalk might be the best option. If you can't get that to work, you could try MacFUSE on the Mac side and mount over sshfs. That is normally what I do. It isn't all that reliable, but you don't seem to require that.
    What information I did find regarding OS X and NFS was that there were peculiarities that required certain settings to be present on the server and the client respectively - for example, OS X apparently requires "insecure" to be set as an option, or it simply won't connect properly.  I don't know why, but I have no choice to trust to the advice of others in this case, until I have sufficient grasp to take care of the whole thing myself.
    This goes back to the expectation that NFS expects to be always connected and mounted by root. Apple sells very few desktop machines anymore so it assumes a different, user-centered environment. You could use "insecure" on the server side to allow connections from "insecure" ports > 1024 that a regular users can connect with via the Finder. You could use the terminal with "sudo mount_nfs -o resvport" to tell the Mac to use the root user to connect via a secure port instead.
    If you genuinely think you're able to help, then I'm happy to hear your advice.  What would you recommend?
    I appreciate your meeting me halfway. I think all you really need is /etc/idmapd.conf without all_squash. Then you could setup AutoFS and you could use NFS in a modern environment without even bothering to mount it.

  • How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes?

    How can I use 2 Apple IDs in Itunes? I have 2 IOS Devices. They each have there own AppleID. What is the proper way to sync both of them to Itunes? I wanted my teenager's AppleID to be different from mine so that she couldn't charge stuff to my AppleID, therefore I created me another one. Now when I go to Sync either device, it tells me that this IOS device can only be synced with one AppleID. Then I get a message to erase it, not going to do that, lol. If I logout as one ID and login as the other, will it still retain all synced information on the PC from the first IOS device? If I can just log in out of the AppleID, then I have no problem doing that as long as the synced apps, music, etc stays there for both. I am not trying to copy from one to the other, just want to make sure I have a backup for the UhOh times. If logging in and out on the same PC of multiple AppleIDs is acceptible then I need to be able to authorize the PC for both devices. Thanks for the help. I am new to the iOS world.

    "Method Three
    Create a separate iTunes library for each device. Note:It is important that you make a new iTunes Library file. Do not justmake a copy of your existing iTunes Library file. If iTunes is open,quit it.
    This one may work. I searched and searched on the website for something like this, I guess I just didn't search correctly, lol. I will give this a try later. My daughter is not be back for a few weekends, therefore I will have to try the Method 3 when she comes back for the weekend again. "
    I forgot to mention that she has a PC at her house that she also syncs to. Would this cause a problem. I am already getting that pop up saying that the iPod is synced to another library (even though she is signed in with her Apple ID to iTunes) and gives the pop up to Cancel, Erase & Sync, or Transfer Purchases. My question arose because she clicked on "Erase & Sync" by mistake when she plugged the iPod to her PC the first time. When the iPod was purchased and setup, it was synced to my PC first. When she went home, she hooked it up to her PC and then she erased it by accident. I was able to restore all the missing stuff yesterday using my PC. However, even after doing that it still told me the next time I hooked it up last night that the iPod was currently synced with a different library. Hopefully, you can help me understand all this. She wants to sync her iPod and also backup her iPod at both places. Both PCs have been authorised. Thanks

  • What is the proper way to record line numbers in Master/Detail records?

    Guys and Gals,
    Been thinking about this for awhile, but thought it best to ask the people who really know what they are doing.
    What is the proper way to record & show line numbers in a Master / Detail record set?
    For example, take Master/Detail relationship Orders and OrderItems. Orders has a column Document_Number and OrderItems has Document_Number, Line_Number. Line_Number should contain the row number 1,2,3,4 ... etc. for each row in a document.
    Should I ...
    <ol><li>Add a sequence and a trigger in the database? The FusionOrderDemo does this, but then the sequence never "resets" and I've got row numbers that keep incrementing. So one document has rows 4,5,6 and the next document has 7,8,9 when they should both have 1,2,3.</li>
    <li>Programmatically take care of the row numbers? This seems like I'm asking for trouble. Anytime an insert or delete operation gets done, I'll have to iterate through rows and re-assign row numbers.</li>
    <li>Is there a way to assign row numbers in a table iterator (or data collection?) to an entity?</li></ol>
    Any suggestions would be appreciated. It's looking like #2 is my only option, but if anyone knows different I'd love the input.
    Will

    Thank you both guys.
    As John said, I believe I'm looking for a gap-free sequence per master record.
    The line number of the OrderItems table is the second half of the primary key. The first half of the primary key (DocumentNumber) is the foreign key to the Orders table.
    Think of it like line items on an order or invoice. For example, if you were talking to someone on the phone concerning an invoice, you might say, "The pricing for line item #3 is incorrect." In this case, it's good to have a common reference. Or imagine a Microsoft Excel spreadsheet with no row numbers displayed! You'd never get anywhere if you had to explain something over the phone.
    If this is tricky to perform, I take it using a sequence and trigger such as the Fusion Order Demo is the best way to approach the challenge for simplicity's sake?
    Will

  • What is the proper way to extend 2nd generation time capsule network to 2nd generation Airport Express?

    I have a Simultaneous Dual Band Time Capsule. Up until now, I have been extending the network with the Airport Express (2nd Gen, the 802.11n model). Since it was not simultaneous dual band, it was extending over the 2.4 GHz band so as it could extend b, g, and n and support my iPhone at 2.4 n as well as my iPad and MacBook Pro at 5 GHz.
    I just bought the new simultaneous dual band unit, which theoreticalkly should be able to extend both bands.
    Now, it is not that simple. I also run a guest network, which I assume also gets extended when WDS is on. I also still have the old Express which I have relegated to another part of the house.
    When I set up the new Express, it asked me which one of the networks I want to join, either <SSID> or <SSID 5GHz>, the automatically generated name for the the 5 GHz band on the Time Capsule. Which one do I join? How do I know that both are extended? When I connect to the <SSID 5GHz> now my iPhone can see that one and connect to it, so I am assuming it is NOT going at 5 GHz.
    And I have no idea at all what the guest network is doing....
    Does anyone have any insight into tthe proper way to configure all the units, and what I can expect? My network is as follows:
                                                                                             Airport Express (Simultaneous Dual Band)
    Cable Modem > Time Capsule (Simultaneous Dual Band) >
                                                                                             Airport Express (802.11n, last gen)
    I want to run guest network (hopefully simultaneous dual band) and personal network. I want the new express to run both bands just like the Time Capsule, and for the old express I want to know which of the two bands I am extending.
    Thank You!

    I also run a guest network, which I assume also gets extended when WDS is on
    Unfortunately, the Guest Network cannot be extended.
    When I set up the new Express, it asked me which one of the networks I want to join, either <SSID> or <SSID 5GHz>, the automatically generated name for the the 5 GHz band on the Time Capsule.
    This likely indicates that the Time Capsule has been setup to use separate names for the 5 GHz and 2.4 GHz bands, instead of the default, which uses the same wireless network name for both bands.
    In order for the AirPort Express to be able to extend both bands, the Time Capsule will need to be configured so that both bands use the same wireless network name.
    Then, configure the AirPort Express to extend the wireless network name of the Time Capsule, and it will extend both bands.  At least, that is the way an AirPort Extreme works, and I assume that the Express is the same. I don't have an Express here to test, but will in another day or two.
    The location of the Express is important, since the 5 GHz signals are not as strong as 2.4 GHz signals. You may need to experiment by placing the Express closer to the Time Capsule than normal.  With an AirPort Extreme, I find that the Extreme must be located no more than about half the distance from the main router to the area that needs more wireless coverage.
    If you continue to use the previous model Express to extend as well, it too must be configured to extend the wireless network name of the Time Capsule. Configured this way, the Express will extend the stronger of the 2.4 GHz or 5 GHz signals, so it will likely extend the 2.4 GHz band unless it is located close to the Time Capsule.
    To find out which band the previous model Express is extending, locate a Mac laptop close to the Express and hold down the option key on your Mac while you click on the AirPort icon at the top of the screen. The info displayed will indicate whether you (and the Express) are connecting using 2.4 GHz or 5 GHz.

  • What is the proper way to open the app store  for ios

    Using Air3.1 to develope a game.
    I want to have links on my main menu which will open the iOS app store for a specific application.
    The only way I have found to do this is by opening a url "http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=<THEAPPIDHERE>&mt=8"
    However, while this does work, so to speak, when I try to go back to the application, it starts up as if it had crashed... and it does several "redirects" before it get's where it is eventually going.
    Is there a better/proper way to open the app store?
    Cheers
    dave

    Read this page, especially the later examples:
    http://bjango.com/articles/ituneslinks/

Maybe you are looking for

  • CFMAIL issue in cf8

    I have set up the mail connection via CF Admin. I tested connection and I ahve no problem. But now when I send any emails where the address is in format: [email protected] it fails with invalid address but if i try [email protected] it send the email

  • Upgraded to Skype 7 But crashes after login

    Hi, I updated my skype the other night and it crashes every time it logs me in. I'm using my hotmail/msn login. on windows 7 home premium. Had no problem until I upgraded. I tried uninstalling skype, then clearing anythig in %appdata% roaming and loc

  • Method in AM impl

    Dear All, in oracle docs, i see 2 ways to work with tables (insert or update & delete and select as well), let us speak about insert one. - there is one way to work with EOs like this EntityDefImpl productDef = ProductsBaseImpl.getDefinitionObject();

  • OS X Mavericks doesn't read my external hard drive

    Dear Apple Support Community, Yesterday I bought a new MacBook Pro with OS X Mavericks. I tried to connect by quite new external hard drive bought in Germany, a Spaceloop 3.0 1.5 Tb by CnMemory. I can see the external drive on my desktop but it looks

  • I apologize, asked question before. Computer broke, how do I find old presets

    My computer recently broke, but I saved the internal hard drive. Im looking at lightroom folders and I have no idea where the presets are located. I have a ton of presets ive made or saved. I really appreciate the help Thanks, David