From owner-freebsd-questions@FreeBSD.ORG Fri Dec 30 22:15:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A354D16A41F for ; Fri, 30 Dec 2005 22:15:21 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E410843D46 for ; Fri, 30 Dec 2005 22:15:20 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EsSWk-00077U-KT for freebsd-questions@freebsd.org; Fri, 30 Dec 2005 23:15:10 +0100 Received: from r5bp69.chello.upc.cz ([86.49.75.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 23:15:10 +0100 Received: from element by r5bp69.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Dec 2005 23:15:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Pavel Duda Date: Fri, 30 Dec 2005 23:14:45 +0100 Lines: 71 Message-ID: References: <20051230201125.44296.qmail@web50515.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5bp69.chello.upc.cz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041103 Thunderbird/0.9 Mnenhy/0.6.0.104 X-Accept-Language: en-us, en In-Reply-To: <20051230201125.44296.qmail@web50515.mail.yahoo.com> Sender: news Subject: Re: Some questions on chmod in FAT hdd 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: Fri, 30 Dec 2005 22:15:21 -0000 Joao Borges wrote: > > Hello everybody > > > I've finally installed and ran Samba 3 on my FreeBSD > 5.4. Then, wanting to share a directory I applyed on > directory > > drwxr-xr-x 1 root wheel 1638 Dec 30 13:58 shared > > the following command (as root): > > chmod -R a=rwx shared > > It doesn't return error but when I look up the new > atribution it is the same. Indeed this directory is > inside a mounting point which has the same attributes > (ie the mounting operation copies the mounting point > attributtes and then I can't change any attributes > inside the mounting point). By the way the mount is a > msdosfs type. > > Can I deal with this problem? Is it a bug (so I > report) or I am doing some mistake? > Hi, "Non-root file accesses may yield unexpected errors. If the "file system owner" is not equal to the user who is accessing the file system, some programs may generate unusual errors when modifying or creating files. This happens because all files that are created on the MS-DOS FS are implicitly chowned to the file system owner. Work-around: only the user who owns the file system should have write permission for it." ...so if you need to have access under some user then you have to mount it into dir where this user is an owner. It is obvious because MSDOS FS (FAT) doesn't support multiple users. Pavel > I've also performed a Windows XP to FreeBSD transfer > via Network using Samba. The transfer made useless all > the archives involved (some mp3). I shared a full > access share on FreeBSD and then copied and paste on > the XP station the files. Then on FreeBSD they were > useless. Can anybody tell what happened? > > Att > Joao Francisco > > > > > > > > > > _______________________________________________________ > Yahoo! doce lar. Faça do Yahoo! sua homepage. > http://br.yahoo.com/homepageset.html > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >