From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: Can't write VFAT filesystem
Date: Tue, 04 Nov 2003 09:16:49 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20031104083631.01f742c0@celine> (raw)
In-Reply-To: <3FA79C9E.400@siriusbb.com>
At 06:33 PM 11/4/2003 +0600, Amin wrote:
>Hi,
>
>I've set up my /etc/fstab file as usual, so that I can access my Windows
>C: and D: drives, as shown in the attachment.
>
>I can mount/unmount both these drives and read them. I can also write to
>the /mnt/c filesystem. But for some reason I can't write to the /mnt/d
>filesystem. Specifically:
>
>$ whoami
>yawar
>$ pwd
>/mnt/d/My Documents
>$ touch file
>touch: creating `file': Permission denied
>$
Well ... what does "ls -l /mnt/d/My\ Documents" tell you about ownership of
and permissions for that directory? Same questions for "ls -l /mnt/d".
Checking this info is the obvious place to start ... so basic, really, that
I wouldn't check anything else until I had verified that the values
reported here were sensible.
Am I correct is assuming that you (that is, userid yawar) own the partition
/mnt/d ? If so, and you mount the filesystem from userid yawar, it should
give you (yawar) write access. But since the fstab entries have both
"owner" -AND- "user" attributes set, it is unclear on what basis you
(yawar) are mounting the partition.
It is quite easy to get a detail wrong when working with fat and vfat, so
you should double-check all the basics.
>Can some kind soul tell me what I'm doing wrong?
>
>Thanks,
>Yawar Amin
>
>
>LABEL=/ / ext3 defaults 1 1
>LABEL=/boot /boot ext3 defaults 1 2
>none /dev/pts devpts gid=5,mode=620 0 0
>none /proc proc defaults 0 0
>none /dev/shm tmpfs defaults 0 0
>/dev/hda4 swap swap defaults 0 0
>/dev/cdrom /mnt/cdrom iso9660
>noauto,owner,user,unhide,kudzu,ro 0 0
>/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
>/dev/hda1 /mnt/c vfat noauto,owner,user 0 0
>/dev/hda5 /mnt/d vfat noauto,owner,user 0 0
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2003-11-04 17:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-04 12:33 Can't write VFAT filesystem Amin
2003-11-04 17:16 ` Ray Olszewski [this message]
2003-11-05 12:20 ` Amin
2003-11-04 16:36 Dennis Schridde
2003-11-05 0:54 james niland
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=5.1.0.14.1.20031104083631.01f742c0@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.