From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60760 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.gnus.general Subject: Re: How to make gnus store received mail in the directory /mnt/windows? Date: Mon, 15 Aug 2005 15:19:22 +0000 (UTC) Message-ID: References: <20050815031142.7258C4022@rocksteady.printf.se> <87u0hr8rty.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1124119659 32111 80.91.229.2 (15 Aug 2005 15:27:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Aug 2005 15:27:39 +0000 (UTC) Original-X-From: ding-owner+M9292=ding+2Daccount=gmane.org@lists.math.uh.edu Mon Aug 15 17:27:30 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E4goW-0001VD-Td for ding-account@gmane.org; Mon, 15 Aug 2005 17:23:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1E4goW-0008TO-00 for ding-account@gmane.org; Mon, 15 Aug 2005 10:23:48 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1E4goQ-0008TG-00 for ding@lists.math.uh.edu; Mon, 15 Aug 2005 10:23:42 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1E4goO-0008Jm-MF for ding@lists.math.uh.edu; Mon, 15 Aug 2005 10:23:40 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1E4fsI-0002nt-00 for ; Mon, 15 Aug 2005 16:23:38 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E4gms-0001Bd-D4 for ding@gnus.org; Mon, 15 Aug 2005 17:22:06 +0200 Original-Received: from ppp-236-66.26-151.libero.it ([151.26.66.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2005 17:22:06 +0200 Original-Received: from romeomedina by ppp-236-66.26-151.libero.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Aug 2005 17:22:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 95 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 151.26.66.236 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804) X-Spam-Score: -4.7 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60760 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60760 Adam Sjøgren: > If you do this - write new files - you are probably using a > vfat-filesystem and not ntfs? > > You can check this with the 'mount' command (just run it without any > arguments). Yes, the 'mount' command run without arguments shows that on /mnt/windows there is a vfat filesystem: [rodolfo@localhost rodolfo]$ mount /dev/hda8 on / type ext3 (rw) none on /proc type proc (rw) none on /proc/bus/usb type usbfs (rw) none on /sys type sysfs (rw) none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15, codepage=850) /dev/hda1 on /mnt/windows type vfat (rw,umask=0,iocharset=iso8859-15,codepage=850) Rodolfo: > 2) If I start emacs as root, and then open gnus from within > emacs, then I manage to do what I want. Adam Sjøgren: > That sounds like you've got a problem with permissions. > > You should double-check that the normal user has permissions to do > what is needed on /mnt/windows. The output of: 'ls -l /mnt' shows that any normal user has write permissions onto the /mnt/windows directory (is that right?): [root@localhost rodolfo]# ls -l /mnt total 48 drwxr-xr-x 2 root root 4096 gen 22 2005 cdrom/ drwxr-xr-x 2 root root 4096 gen 22 2005 cdrom2/ drwxr-xr-x 2 root root 4096 ago 10 15:26 cdrom3/ drwxrwxrwx 0 root root 0 ago 15 10:18 floppy/ drwxr-xr-x 2 root root 4096 gen 22 2005 linux1/ drwxr-xr-x 2 root root 4096 feb 6 2005 linux2/ drwxr-xr-x 2 root root 4096 apr 16 19:45 linux4/ drwxr-xr-x 19 rodolfo rodolfo 4096 ago 15 00:00 linux5/ drwxrwxrwx 3 root root 4096 ago 14 17:41 newdir/ drwxrwxrwx 30 root root 16384 gen 1 1970 windows/ Adam Sjøgren: > Do provide details, otherwise helping you will be tedious and > longwinded. I'm sorry, I'm newbie with linux, I'm doing all my best to provide all information about the matter. Adam Sjøgren: > Look at the mount-options uid, gid, umask, dmask and fmask for fat > (see 'man mount' and /etc/fstab). That is a bit hard for me. Anyway, in /etc/fstab there's the following: /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-15,codepage=850 0 0 none /proc proc defaults 0 0 . The mount manual does not seem to be very helpful to me: the uid and gid options for fat say: uid=value and gid=value Set the owner and group of all files. (Default: the uid and gid of the current process.) . Now, the output of 'ls -l /mnt' shows that /mnt/windows belongs to the owner root and to the group root, but normal users do have the write permissions. Any other hint? Thanks indeed, Rodolfo