From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 21:19:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8A5F106564A for ; Mon, 9 Feb 2009 21:19:54 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from QMTA02.emeryville.ca.mail.comcast.net (qmta02.emeryville.ca.mail.comcast.net [76.96.30.24]) by mx1.freebsd.org (Postfix) with ESMTP id 929638FC14 for ; Mon, 9 Feb 2009 21:19:54 +0000 (UTC) (envelope-from remegius@comcast.net) Received: from OMTA08.emeryville.ca.mail.comcast.net ([76.96.30.12]) by QMTA02.emeryville.ca.mail.comcast.net with comcast id DrUj1b00C0FhH24A2xKu5t; Mon, 09 Feb 2009 21:19:54 +0000 Received: from localhost ([76.102.24.75]) by OMTA08.emeryville.ca.mail.comcast.net with comcast id DxKt1b00J1dCpWs8UxKuhB; Mon, 09 Feb 2009 21:19:54 +0000 Date: Mon, 9 Feb 2009 13:19:55 -0800 From: Rem P Roberti To: Tim Judd Message-ID: <20090209211955.GA1521@bsd.remdog.net> Mail-Followup-To: Tim Judd , FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Subject: Re: gtkpod permissions problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 21:19:55 -0000 > > > > > > > > I have installed gtkpod for use with my Nano, but I'm having a problem > > > > when trying to add files. The Nano is mounted at /mnt/ipod, and when I > > > > try to add a file I get a message similar to this: > > > > > > > > Transfer of 'Petite Fleur' failed. Error opening > > > > '/mnt/ipod/iPod_Control/Music/F00/gtkpod795096.mp3' for writing > > > > (Permission denied). > > > > > > > > The file, in this case Petite Fleur, shows up in gtkpod, but it can't > > be > > > > written to the Nano. This obviously looks like a permissions problem, > > > > but I can't figure out its cause. > > > > > > Look at the permissions on that file, and the directory containing it, > > > and the mount point. I'm sure at least one of them isn't sufficiently > > > permitted to the user running gtkpod. > > > > You were quite right. I was dealing with a Nano that already had files > > on it installed by iTunes. Nothing that I could do, even as root, would > > allow me to change the permissions of /mnt/ipod. To make a long story > > short, I cleared the Nano of all previously installed files, and started > > from zero with gtkpod and now everything works smoothly. I'm still not > > sure why I wasn't able to change the permissions of the mounted Nano as > > su, but I guess that is typical when dealing with mounted devices. > > > > Depending on the filesystem of the iPod itself -- for example an MSDOS/FAT > format will set a UID/GID on mount, and no chown will hold. > > umount /mnt/ipod > chown root:wheel /mnt/ipod > chmod 0777 /mnt/ipod > # optionally, set it sticky bit, chmod 1777 /mnt/ipod > mount /dev/ipod /mnt/ipod > > > now try to access the files. > > I am aware the problem was previously fixed, but for the archives among > other reasons, I felt compelled to reply. Thanks for the reply, but I am unable to get this to work regardless of the method employed. Every time I try to change the permissions I get an error message telling me that I am using an "invalid argument". --Rem