Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
Cc: "ding" <ding@gnus.org>
Subject: Re: How to make gnus store received mail in the directory /mnt/windows?
Date: Mon, 15 Aug 2005 20:40:09 +0200	[thread overview]
Message-ID: <87pssf6o3a.fsf@koldfront.dk> (raw)
In-Reply-To: <ILA0IR$4A68DE6BA7660B0595715D1474E16109@libero.it> (romeomedina@libero.it's message of "Mon, 15 Aug 2005 20:25:39 +0200")

On Mon, 15 Aug 2005 20:25:39 +0200, romeomedina\@libero\.it wrote:

> Adam Sjøgren wrote:

>> Gnus tries to change the permissions.

> But why? We saw that the permissions were all right.

Of the files it creates, not of the directory!

> Adam:

>> $ dd if=/dev/null of=disk.img bs=1k count=1024

(I miswrote that line there - should have been /dev/zero).

[...]

>> $ sudo mount disk.img /mnt/floppy/ -t vfat -o loop=/dev/loop3,blocksize=1024,umask=0

> I tried to do the same, but:

WHY?

The commands I showed you just illustrates that you can work around
the lack of unixy permissions-support in vfat by setting uid and gid
in your fstab on Linux.

> Adam:

>> Try setting uid and gid in your fstab to your users uid and gid, and
>> see if that helps.

> I did:

> [rodolfo@localhost rodolfo]$ id
> uid=501(rodolfo) gid=501(rodolfo) groups=501(rodolfo)

> , then in my /etc/fstab I changed the line:

> /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-15,codepage=850 0 0

> into:

> /dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-15,codepage=850 0 0,uid=501,gid=501

> . Is that what you meant?

Read the manual-page for fstab. (Hint: you put the options in the
wrong place). Besides that: yes.

> Please, any other hint?

Read. Some. Manuals.


  Best regards,

       Adam

-- 
 "Remember, Robert, in life anything can happen."             Adam Sjøgren
                                                         asjo@koldfront.dk



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

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 18:25 romeomedina
2005-08-15 18:40 ` Adam Sjøgren [this message]
2005-08-15 19:48   ` Rodolfo Medina
  -- strict thread matches above, loose matches on Subject: below --
2005-08-15 22:21 romeomedina
2005-08-16 21:05 ` Rodolfo Medina
2005-08-15 22:06 romeomedina
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 16:08 romeomedina
2005-08-15 16:35 ` David S. Goldberg
2005-08-15 18:39   ` Rodolfo Medina
2005-08-15 14:58 romeomedina
2005-08-15  8:57 romeomedina
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
2005-08-15  3:18 ` Dave Goldberg

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=87pssf6o3a.fsf@koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /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).