Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-03-2004, 05:10 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Location: Illinois
Posts: 3
Rep:
|
Permission problems in a vfat shared partition
As is usual for me, I have somehow managed to turn the seemingly simple process of creating a vfat partition to share between my Linux and Windows instillations into a long and drawn out process.
First I will give my current partition setup:
/dev/hdc1 - Windows XP instilation (vfat - 15G)
/dev/hdc2 - Fedora Core 2 boot partition (ext3 - 100M)
/dev/hdc3 - Fedora Core 2 swap partition (512M)
/dev/hdc4 - MSDos extended Partition
/dev/hdc5 - / parition for Fedora install (ext3 44.5G)
/dev/hdd1 - Blank partition to be shared (85G)
/dev/hdd2 - Extra linux partition. (/mnt/disk - ext3 - 115G)
Here is what I hope to accomplish:
Format /dev/hdd1 as a fat32 fs, mount it as /home in Linux, and have it readable as another driver in Windows.
Here are the commands that I enter to setup my vfat shared partition:
# fdisk /dev/hdd t; 1; c (change system id to W95 FAT32 (LBA))
#mkfs.vfat /dev/hdd1 (create fat32 FS on /dev/hdd1)
#mount -t vfat /dev/hdd1 /home (mount partition)
#mkdir <username>
Here is where we run into problems. When I try and change the directory's owner and group (chown <username>:<usergroup> <userfolder>), I get the following error:
"chown: changing ownership of `<userfolder>': Operation not permitted"
I get this error whenever I try and chmod/chown any folder/file on the partition. I am also only able to write to the partition only as root, and I would think that would be a bad thing when this partition is supposed to be the /home directory.
Any help here would be appreciated. Thank you.
|
|
|
|
10-03-2004, 08:20 PM
|
#2
|
|
Member
Registered: Jul 2004
Location: 1st Brillouin Zone
Distribution: Gentoo (not ricer Gentoo)
Posts: 165
Rep:
|
I am no expert on this, but that is inherent in Windows File systmes. Vfat does not support Linux permissions. (As i understand this is part of the security problem with MS in general). This is why basically every partitioning guide will tell you not to make your root partition or your home partition vfat.
Sorry.
|
|
|
|
10-03-2004, 08:26 PM
|
#3
|
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
Make you /home and / and etc partitions ext3 or reiser
make a shared vfat partition for swapping of files. FAT/NTFS dont understand linux perms
|
|
|
|
10-03-2004, 09:22 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2004
Location: Illinois
Posts: 3
Original Poster
Rep:
|
Thanks everyone. I had been looking around and found no real reasons for this problem. It is good to have a definite answer.
So, unless anyone else has any more suggestions I guess I will make a 50G partition for shared files and then another 150G partition for my Linux /home directory.
As a side note, does anyone know if/when Microsoft will add support for a decent file system (ext2/3, reiser, JFS) or come out with their own?
|
|
|
|
10-04-2004, 07:09 AM
|
#5
|
|
Member
Registered: Sep 2003
Location: Manchester UK
Distribution: Frustrated Ubuntu 6.10 Edgy User
Posts: 257
Rep:
|
Microsoft did have plans to release their new database filesystem WinFS in Longhorn, but due to complete ineptitude and the inability to organise a piss-up in a brewery, they have decided to put it off and not release it as part of Longhorn. (according to what I've read)
So basically, by the time microsoft get around to releasing WinFS, there will already be new GNU/linux filesystems which are smarter, quicker, safer, ad which above all, *work*
If you want a peek at WinFS, you can always try here http://www.tomshardware.com/storage/20030617/
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|