How to synchronize multiple computers via usb stick?

I have three computers on which I work most of the time and I have some files, that I have to access/change on all three and thus I have to sync these files.  I would like to do this using an usb stick.  To do so, I formatted a partition on my usb stick as ext4 (without journaling) and then use unison to synchronize the files from one computer to the usb stick when I'm done working on one computer and before I start, I do the same.
Unfortunately, I have different uid and gid on the different computers (and I cannot change that as I'm not admin on every one).  Unison can still take readable files from the usb stick and store them with my `correct' local uid, but unfortunately it cannot create new files/folders on the usb stick, as the folders are often with rwxr-xr-x permission.
There are some suggestions, such as here to simply change the ownership of all files recursively, but since I'm not root, I cannot do that.  (Additionally this solution does not feel optimal, as I would have to change the permission bits with every mount -- and this is probably not the best to do to an usb stick(?).)
So after the whole lament my actual questions:
  o Is there a file system, that can store permissions (such as redable/writable with user and group support), but that I can mount with changed permissions (e.g. translate uid=1023 to uid=17011 while mounting but leavin the actual bits set) and that is suitable for use with an usb stick?
  o Is there a tool to mount/remount the usb stick with `translated' permissions?
  o Is there any other solution you could think of to accomplish my syncing?  (Keep in mind, that sky/cloud drives are no possibilities, as not all of my computers have internet access.)
Note:  The permissions (which file is rwx and which is only r--) is actually something I want to preserve during this sync-process -- that's why I used ext4 in the first place.
Last edited by skunk_junior (2013-05-31 12:40:12)

Trilby wrote:I'm confused, you say you want to preserve the permissions, but you also say you want to change them all to readble.
I don't want to change the permissions stored on the usb stick.  I just want identical files on all my three systems (also with the permissions set correctly), but I want to use my local uid instead of the uid stored on the stick.  So that the mounting system does not see ``uid=1023 has rwx for file /mnt/foo'', as it's stored on the usb stick, but I want it to see ``uid=17011 has rwx for file /mnt/foo''.
I Imagine some tool like a table that links the actual, stored, uid on the stick (1023) to the one, I want my system to perceive (17011).
If I make a file executable, I want to keep that information.  If I store that file on a fat, it's lost.
Last edited by skunk_junior (2013-05-31 13:08:40)

Similar Messages

  • How is it possible to install Windows 7 via USB-Stick on a 2009 iMac with a broken DVD-Drive?

    Hello,
    i have a 2009 iMac and Windows 7 64bit in my Boot Camp.
    Windows is now slow and needs to be reinstalled.
    The problem is the DVD-Drive in my iMac is broken, so i can't use my Windows-install-DVD.
    How can i reinstall Windows 7 via USB-Stick on a 2009 iMac with a broken DVD-Drive?

    F3Spirit wrote:
    Thank you,
    I try this.
    Also check this one out
    But i think you would be far better served by installing Windows in a virtual machine.

  • I have a new MacAir and don't know how to get info from my USB stick and my SD photo card.  Can anyone help me please?

    I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card.  Can anyone help, please?

    Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
    Matt

  • HT204382 How do I watch video from USB sticks please Thomas

    Hello World, who knows how to watch video from a USB stick??

    You click on the USB icon in a Finder window, and double-click the video....
    Where the video is (hard drive, DVD drive, USB, network) makes no difference to OS X.
    If you are having trouble making QuickTime play a particular video, it's probably because QuickTime doesn't support a lot of formats. Save yourself a lot of hassle and download the free VLC videoplayer and use that for playing your videos (whatever the format, VLC will probably play it):
    http://www.videolan.org/vlc/index.html

  • How to run fsck.vfat for USB-stick during cRIO-9030 boot?

    Hi all,
    we have a cRIO-9030 with a USB-stick. Sometimes after power loss the USB-stick filesystem (FAT32) gets corrupted and has to be checked/fixed. How can I configure cRIO LinuxRT to do that?
    I've checked /etc/fstab, but it looks that the USB-stick is mounted somewhere else. I run mount - here is the line:
    /dev/sdc1 on /media/sdc1 type vfat (ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,quiet,errors=remount-ro)
    It would be nice if I can run fsck.vfat /dev/sdc1 every boot or when an error is detected.
    Thanks in advance,
    Nikolai

    Hi NickViz,
    My name is Ed form National Instruments Technical Support, I have researched into the topic and found that it is possible to use the 'System Exec.vi' to complete the command during the initialization of your RT application.
    You simply need to input your commands as a string just as you would to command prompt/terminal (depending on OS), you can also execute commands via SSH however this is one way communication between the RT application and the command shell.
    I have included some links below to articles which describe the methodology as well as give some further explanation into the NI Linux Real-Time OS.
    http://digital.ni.com/public.nsf/allkb/AFCAC25164CDBD4C86257C6A00545CD5?OpenDocument
    http://digital.ni.com/public.nsf/allkb/9822A3A39B1D0CBB86257C55006B962A
    http://www.ni.com/white-paper/14626/en/
    I hope this is helpful and you achieve what it is you need, do note you will need to enable SSH scripting as described in the article on using PuTTY for your Real Time device.
    Kind Regards,
    Ed

  • Having one iTunes music library for multiple computers via TimeCapsule

    Hi there,
    I'm just wondering how to best set-up my iTunes library. I want the library on my TimeCapsule wireless hard drive, and to be able to set this as the library for multiple computers at home. It's a waste of space to have duplicate libraries on both computers.I had this working with an earlier version of iTunes, but its not working now.
    I also want to know how I can get the wireless device to fire up simply by pressing the iTunes icon. If I do this without, iTunes says it can't find the library.
    Thanks.

    Frank, yes. Only one library of the songs and content if it's stuff from the Music Store.
    If the music is your own CD rips, then you can put all the music on a central server and have all the computers connect in on your home network.
    You do NOT set your iTunes to share their libraries, or look for shared libraries, you manually do the drag-and-drop with your networked music folder into the iTunes library window and each copy of iTunes behaves as if the network volume is it's own.
    The only shortcoming to this is if you add music with one machine, the others will NOT have the new songs added to their own library lists unless you drag and drop the songs into the iTunes library manually for each computer.
    I have enough music that I have broken down the library list into five folders, A-E, F-J, K-O, P-T, and U-Z. When I add new songs, the folders they're in will be added at the root Music Library folder level, so I can refresh the libraries with the new music THEN manually file it into one of those five correct folders.
    This is what my network library looks like:
    http://home.comcast.net/~foodandart/Network%20Library.jpg - you can see that I haven't added the Clapton, BBC, Roxy Music, etc, to the library lists for the entire house.
    The G4 frankenbeast computer in our living room, is the media server for the house and has the stereo system rigged through it and is used to rip vinyl and watch the video. I still have to refresh the libraries in my husband's laptop, and on my main internet computer, so those albums haven't been filed yet.
    Of course the caveat here is that I haven't a single item that's purchased through the Music Store and thusly locked down, since I rip my own LP's and CD's, so everything is much more flexible in how I can handle it.
    Deb.

  • How to use multiple computers (mac) and an ipod ???

    Ok, i am very very new to mac's and ipods, i just got one yesterday. Me and my girl both have one and use it on 2 different macs. She had purchased some tv shows, and i would like to put them on my ipod as well. they are purchased so we do own them correct??? So i finally figured out how to add them to my ipod from her mac, by switching to manual mode. But than once i hook my ipod up to my mac, it automatically delets them. Because i am guessing i am in automatic mode. Can someone help me to prevent this. I do not want to change my mac out of auto mode, because it is a pain in the rear to manually add everything to the ipod. Please help???
    Also since i had changed my ipod out of automatic mode once and placed it into manual mode once, and back again to auto i always have to eject my ipod. How do i set it up like it was out of the box, in auto mode and that i do not have to eject it from itunes.
    Thanks so much, i know that i am a nube at all of this...

    But than once i hook my ipod up to my mac, it automatically delets them. Because i am guessing i am in automatic mode. Can someone help me to prevent this. I do not want to change my mac out of auto mode, because it is a pain in the rear to manually add everything to the ipod. Please help???
    You can't do this. If you want to update your iPod from multiple machines, you NEED to be in manual mode on both computers. There's no way around this.
    Here's an article from Apple which explains how to do it.
    Using ipod with Multiple Computers
    Also since i had changed my ipod out of automatic mode once and placed it into manual mode once, and back again to auto i always have to eject my ipod. How do i set it up like it was out of the box, in auto mode and that i do not have to eject it from itunes.
    When you switched to manual mode, it automatically enables Disk Mode on your iPod.
    If you don't want to keep ejecting the iPod, then you need to disable Disk Mode. You can do this in iTunes preferences.
    Then again, one you go back to manual mode... which you need to do to use you r iPod with more than one computer... it's going to enable disk mode again anyway.

  • How to read out data via usb

    Hello,
    i am trying to get the measurements of a dial indicator, "MarCator 1075", product of Mahr Co. via USB-Cable.
    I installed all the drivers and MAX shows that its a COM-Device and its working properly. So i configured the settings: baud rate 4800, data bits 7, parity even, stop bits 2, apllied and saved the changes.
    I tried those 2 attached VI's, but it doesnt work.
    1. basic_serial_write_and_read.vi is the standard VI for USB-communication of NI.
    2. Sylvac Read.vi is a VI the vendor send after i talked to him to inform me about the dial indicator. He said its a VI to get Data via RS232, but the problem is that i dont have a RS232-slot in my computer. In order to that i have to realize it via USB.
    I think it doesnt work because there are no databits to be read out. When the dataflow arrives the "VISA-Read" theres is an error. This occures in both VI's.
    Error -1073807339 occurred at VISA basic_serial_write_and_read.vi
    Possible reason(s): VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.
    Anyone who can help me with my issue??
    thx in advance
    best regards
    Attachments:
    basic_serial_write_and_read.vi ‏34 KB
    Sylvac Read.vi ‏22 KB

    Hello FCHansa,
    have you installed the proper drivers?
    Which version of LabVIEW are you using?
    Which OS are you working on?
    In the LabVIEW Example Finder you have a simple example how you can communicate to a USB HW via NI-VISA.
    It's called "Basic TCPIP or USB VISA Write and Read - PDA.lvproj". Or another would be "Basic TCPIP or USB VISA Write and Read - Touch Panel.lvproj"
    Have you configured your USB Device to a virtual COM interface?
    Also please have a look to these links:
    What is the Difference Between USB Raw Control and USB Raw Bulk?
    http://digital.ni.com/public.nsf/allkb/400D6EAB5CFE1C6B86257395005F5D48?OpenDocument
    USB RAW Controller
    https://decibel.ni.com/content/docs/DOC-2022
    Also, please follow the advises of smercurio_fc! As he said you need to know to which commands your Hardware is responding to.
    Best regards,
    Abduelkerim
    Sales
    NI Germany

  • How to update recovery firmware through USB stick

    Hello,
    I have px4-300d and recently got an issue with iomega device not booting. The iomega logo is displayed and nothing happens after that. The OS is not booting. I fI conenct keyboard to USB port and press CTRL-ALT-DEL it reboots. So it is stuck somewhere in or before OS boot. Since I cannot connect monitor to this device, I need to find a way how to blindly recover the OS.
    I heard some models have an option to use firmware upgrade from the USB stick. I believe it is the same case for this device. Can you suggest me how can I load new recovery fimrware from the USB disk to try to recover the device?
    Thanks.
    Solved!
    Go to Solution.

    Hi climb4hope,
    Is your device still covered by the warranty? It is possible to reimage the device's firmware with a USB stick. However, you will have to contact technical support for the file and process. You can contact support by clicking on the following link: LenovoEMC Support Contact Page
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • Malware Infection via USB stick

    Is it possible to infect a Mac with malware simply by mounting an infected usb stick?

    There is nothing known that is capable of doing that.
    There is a supposed piece of malware that has been written about by a very well-known security researcher, Dragos Ruiu, who has called it badBIOS. According to his claims, this malware can do some amazing things, including copy itself via USB. However, the claims seem to be a bit too amazing, and not a single security researcher has managed to verify any of it. Most security experts seem to think that this either doesn't exist or is being seriously exaggerated.
    Since this sort of thing isn't something that can be hidden from hordes of knowledgeable and determined security researchers for long, my personal opinion is that it's mythological.
    Is there a reason in particular that you're asking this?

  • How to synchronize multiple images

    I'm trying to convert my Lightroom skills to Aperture and need to understand how to synchronize images where by simply changing one image I will change selected images such as white balance, curves, etc.

    Use the Lift & Stamp feature. Start with the one shot you want to get the adjustments from. Hit "O" and click on that image. Cursor turns to up arrow. Then click on images you want to sync setting too. This is the one-at-a-time method. Watch the tutorial here on how to do groups of pix, under "Using Lift & Stamp" http://www.apple.com/aperture/how-to/
    Why Apple just doesn't call it "sync" is beyond me.
    Antonio

  • Satellite A210-133: How to install Intel or via usb controller on windows 7

    Hello!
    I have a toshiba satellite a210-133 which i have upgrade it to windows 7 32 bit version.
    Everything have been installed fine, but i have an intraoral machine which is connected with usb and it does not work properly.
    I have questioned the manifacture of the machine and they told me that it wants Intel or VIA USB controller to work properly.
    so i look at my computer\manage and i saw that
    i have not have this controller.
    Can you help me about it??

    Hi mate
    To be honest Im not quite sure what USB controller you mean exactly.
    The notebook supports common USB 2.0 ports.
    The Win 7 provides own Microsoft USB drivers which controls this USB 2.0 ports.
    If the USB ports dont work correctly, then you should check if you need to install the chipset driver.
    Usually such chipset driver can be found on chipset manufacturer page.
    As far as I know the notebook uses the AMD M690V chipset (code name RS690MC + SB600)
    So check this.
    Furthermore many 3rd party USB devices needs an own driver.
    I dont know if you intraoral machine needs such drivers but I think that the manufacturer of this machine should know this. So if you need such driver, please get in contact with the intraoral machine manufacturer to get such software.

  • How to put a video on USB-stick?

    I want to share my edited video. (The video is HD)
    Most people want to have the video on a USB-stick. They want to watch the video on TV.
    (Formerly I produced a DVD, but the quality is only SD. I don't have a Blue Ray recorder)
    What is the best way to put it on a stick?
    I also have Compressor.

    in addendum to Russ' answer … :
    The 'universal' format is a h264 in a mp4 container.
    I'm noticing issues with 1080/'fullHD', because many people are lazy and try to playback straight from the stick = too slow = stutter, jam, trouble. So, usually I down-scale resolution to 720/25p (US: 30p), which allows a lower bit-rate (3-5mbps).
    Some devices ask for a special folder-structure, my son's PS3 e.g. is looking for a MOVIES (all caps) folder, inside the mymovie.mp4 (encoded in h264). This Folder Structures differ by brand or model, read the manuals.
    Another, fast way is: export in h264 from within FCPX; open resulting mov with free tool MpegStreamclip; go straight to 'Save as…' and choose in drop-down MP4 => no new encoding, just re-wrapping the mov into a mp4. Super-fast.
    .... and, no, just changing the suffix doesn't do the trick ....

  • How to disable auto charge via usb?

    So the question is as that: is it possible to disable auto charge when plugging iphone to the macbook in order to save the battery of macbook.
    Tried everything but couldn't find any solution. Moreover it seems like I was questioned something like "permit to charge iPhone via usb?" when I first plugged it to the Mac, but I'm not sure
    Thanks alot for any help!!

    I am reasonably sure since there are no hidden menus to enable this.

  • Connect Computers via USB

    Is there any way to connect my MacBook to my eMac via USB cable?

    No. You can use a firewire cable, either to use target disk mode or computer-to-computer networking, or an ethernet cable, for computer-to-computer networking.

Maybe you are looking for

  • Just a primitive Message Driven Bean doen not work!

              I have a simple Message EJB and can't make it recive messages. For two days I can't           get what's wrong - I've read already three tutorials, but... still nothing. No           exceptions... but no messages.           Here is it.     

  • How can I get a CAC card reader to work on a new iPad with a lightning connector?

    I need to know if it is possible to use a CAC card reader for military use on a new iPad with a lightning connector. I saw the lightning to USB connector but wasn't sure it the iPad will support it.

  • Pink vertical lines appearing on screen

    I have a G5 about 2 years old. Recently a pale pink vertical line appeared down the screen, another about 2 weeks later and today a third line appeared. They do not affect the screen's visibility, but I wander if anyone else has found a resolution to

  • What is virtual file system in sharepoint, where are the site pages stored?

    I came across this paragraph in Inside Microsoft SharePoint 2010; page 126 :- When SharePoint Foundation provisions the Proposals document library,it creates a folder named Proposals at the root of the site and then it creates a child folder named Fo

  • Video front camera

    Hello forum, I tried three sony tablets at my company. After I upgraded to 3.2.1 I have a very dark picture on my front camera what I am not able to adjust. On the back camera the picture is okay. What is this problem? I have this when I open the def