X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A731DFD.4010203@cygwin.com> Date: Fri, 31 Jul 2009 12:38:21 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Permission on USB drive References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 07/31/2009 04:15 AM, Morten Kjærulff wrote: > Hi, > > These files: > > $ ls -l > total 69892 > -rwxr-xr-x 1 ???????? ???????? 2753883 Jul 27 20:41 20090725-0926-IMG_0610.JPG > -rwx------ 1 ???????? ???????? 2865345 Jul 25 09:29 20090725-0929-IMG_0611.JPG > are pictures from a camera, which I copied with google picasa from the > camera to my home computer. Some of the pictures have been edited > (rotated) with picasa. Then I copied them with rsync to my USB drive. > Now I am looking at them from my work computer. > > They do not all have the same permissions, which I don't understand. > The differences to not match those that I have edited with picasa (I > am 95% sure). What should I look for? See and . The Windows SID for the user from your home machine will not match the user on your work machine. That's expected. > Can I somehow set it up, so the files on the USB is readable on any computer? Sure. Use 'chmod 644 ' or something similar. You have to give the permissions you want to all others to facilitate that. Or you have to change the owner (through 'chown' or Windows "Take Ownership"). > Are they unreadable on my work computer because I used a cygwin tool > to copy them to the USB, or is all this pure windows? No, it a general permissions issue. See above. > If I chown the files to my user on my work computer, I can read them > fine, but then I fear I can't read them at home. Fear. Uncertainty. Doubt. A Cygwinner feels not these things! ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple