Gnus development mailing list
 help / color / mirror / Atom feed
From: Rodolfo Medina <romeomedina@libero.it>
Subject: Re: How to make gnus store received mail in the directory /mnt/windows?
Date: Mon, 15 Aug 2005 15:19:22 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050815T170909-59@post.gmane.org> (raw)
In-Reply-To: <87u0hr8rty.fsf@koldfront.dk>

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






  reply	other threads:[~2005-08-15 15:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-14 22:33 Rodolfo Medina
2005-08-15  3:11 ` Henrik Enberg
2005-08-15  3:25   ` Dave Goldberg
2005-08-15  9:00     ` Rodolfo Medina
2005-08-15  9:36       ` Adam Sjøgren
2005-08-15 15:19         ` Rodolfo Medina [this message]
2005-08-15  3:18 ` Dave Goldberg
2005-08-15  8:57 romeomedina
2005-08-15 14:58 romeomedina
2005-08-15 16:08 romeomedina
2005-08-15 16:35 ` David S. Goldberg
2005-08-15 18:39   ` Rodolfo Medina
2005-08-15 18:25 romeomedina
2005-08-15 18:40 ` Adam Sjøgren
2005-08-15 19:48   ` Rodolfo Medina
2005-08-15 19:40 romeomedina
2005-08-15 19:57 ` Derrell.Lipman
2005-08-15 20:02   ` Adam Sjøgren
2005-08-15 21:47   ` Rodolfo Medina
2005-08-15 22:18     ` Rodolfo Medina
2005-08-15 20:00 ` Adam Sjøgren
2005-08-15 22:06 romeomedina
2005-08-15 22:21 romeomedina
2005-08-16 21:05 ` Rodolfo Medina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20050815T170909-59@post.gmane.org \
    --to=romeomedina@libero.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).