Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-12 Thread Mark K. Kim
Each file system type has its own set of options.  Adding those extra
options probably won't affect a VFAT partition in anyway (it'll probably
be ignored.)  `man mount` has the list of standard file systems and the
options applicable for each FS.

Good luck!

-Mark

PS: acl = access control list, user_xattr = User extended
attributes... neither feature is available on VFAT.  I've never seen user
extended attributes but ACL is used kind of like the standard UNIX
user/group permissions control but it gives you extended features.  Never
used it much but the UC Davis EE department uses it on their network.


On Sat, 11 Dec 2004, Robert G. Scofield wrote:

 On Saturday 11 December 2004 18:24, Ken Bloom wrote:

  Here's an fstab entry I have on 2.6:
 
  /dev/hda6   /home/bloom/vfat vfat
  defaults,uid=1000,gid=1000,fmask=177,dmask=077 0 2
 
  Note that in a real fstab file, that would all be on one line.
 
  This gives me rw--- on files and rwx-- on directories. Note that
  you need x on directories in order to cd to them

 I might try an entry like that.  But consider the entry below for my home
 directory:

 /dev/hdb7/homereiserfs   acl,user_xattr1 2

 I don't know what acl,user_xattr means.  But what if I added that entry to
 my Windows partition.  Do you think that would work without ruining
 something?

 Thank you.

 Bob

 ___
 vox-tech mailing list
 [EMAIL PROTECTED]
 http://lists.lugod.org/mailman/listinfo/vox-tech


-- 
Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.php?uid=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-11 Thread Rod Roark
On Friday 10 December 2004 11:01 pm, Bill Kendrick wrote:
 On Fri, Dec 10, 2004 at 10:54:50PM -0800, Robert G. Scofield wrote:
  It seems to me that I remember being able to use Open Office in Linux to 
  write 
  to Windows files.  But maybe it's my memory that is failing.  Does anybody 
  know if it is possible for a mere user to write to Windows files, and if so 
  what FSTAB entry will enable this?
 
 A quick Google search came up with something that looks of use:
 
   Share Partitions Between Linux and Windows HOWTO
   http://www.geocities.com/epark/linux/partition-share-HOWTO.html

Right, I guess the umask option is the key.  My fstab entry
for this is:

/dev/hda1   /mnt/win  vfat  umask=0   0 0

-- Rod
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-11 Thread Jonathan Stickel
Rod Roark wrote:
On Friday 10 December 2004 11:01 pm, Bill Kendrick wrote:
On Fri, Dec 10, 2004 at 10:54:50PM -0800, Robert G. Scofield wrote:
It seems to me that I remember being able to use Open Office in Linux to write 
to Windows files.  But maybe it's my memory that is failing.  Does anybody 
know if it is possible for a mere user to write to Windows files, and if so 
what FSTAB entry will enable this?
A quick Google search came up with something that looks of use:
 Share Partitions Between Linux and Windows HOWTO
 http://www.geocities.com/epark/linux/partition-share-HOWTO.html

Right, I guess the umask option is the key.  My fstab entry
for this is:
/dev/hda1   /mnt/win  vfat  umask=0   0 0
Yes, something like this works fine for mounting fat partions.  My entry 
is more involved for some semblence of security:

/dev/hda8   /DataPart   vfat  defaults,uid=win,gid=win,umask=0020 0
This way only users in the win group can write to the partion.
Bob doesn't explicitly say, though, whether his windows partion is FAT32 
or NTFS.  If it's NTFS, the above fstab lines won't work.

Jonathan
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-11 Thread Ken Bloom
On Sat, 11 Dec 2004 00:02:30 -0800
Rod Roark [EMAIL PROTECTED] wrote:

 On Friday 10 December 2004 11:01 pm, Bill Kendrick wrote:
  On Fri, Dec 10, 2004 at 10:54:50PM -0800, Robert G. Scofield wrote:
   It seems to me that I remember being able to use Open Office in
   Linux to write to Windows files.  But maybe it's my memory that is
   failing.  Does anybody know if it is possible for a mere user to
   write to Windows files, and if so what FSTAB entry will enable
   this?
  
  A quick Google search came up with something that looks of use:
  
Share Partitions Between Linux and Windows HOWTO
http://www.geocities.com/epark/linux/partition-share-HOWTO.html
 
 Right, I guess the umask option is the key.  My fstab entry
 for this is:
 
 /dev/hda1   /mnt/win  vfat  umask=0   0 0

If you're using Kernel 2.4, you should use umask and showexec.
If you're using Kernel 2.6, you should use fmask and dmask.
In either case, you can avoid making the partition world-writable (or
readable if you so choose) by using the uid and gid options.

Here's an fstab entry I have on 2.6:

/dev/hda6   /home/bloom/vfat vfat
defaults,uid=1000,gid=1000,fmask=177,dmask=077 0 2

Note that in a real fstab file, that would all be on one line.

This gives me rw--- on files and rwx-- on directories. Note that
you need x on directories in order to cd to them

--Ken Bloom

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.


pgp9AvvFh6RpP.pgp
Description: PGP signature
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-11 Thread Robert G. Scofield
On Saturday 11 December 2004 18:24, Ken Bloom wrote:

 Here's an fstab entry I have on 2.6:

 /dev/hda6   /home/bloom/vfat vfat
 defaults,uid=1000,gid=1000,fmask=177,dmask=077 0 2

 Note that in a real fstab file, that would all be on one line.

 This gives me rw--- on files and rwx-- on directories. Note that
 you need x on directories in order to cd to them

I might try an entry like that.  But consider the entry below for my home 
directory:

/dev/hdb7/homereiserfs   acl,user_xattr1 2

I don't know what acl,user_xattr means.  But what if I added that entry to 
my Windows partition.  Do you think that would work without ruining 
something?

Thank you.

Bob

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech


Re: [vox-tech] Can a User Write To Windows Partition?

2004-12-10 Thread Bill Kendrick
On Fri, Dec 10, 2004 at 10:54:50PM -0800, Robert G. Scofield wrote:
 It seems to me that I remember being able to use Open Office in Linux to 
 write 
 to Windows files.  But maybe it's my memory that is failing.  Does anybody 
 know if it is possible for a mere user to write to Windows files, and if so 
 what FSTAB entry will enable this?

A quick Google search came up with something that looks of use:

  Share Partitions Between Linux and Windows HOWTO
  http://www.geocities.com/epark/linux/partition-share-HOWTO.html

I hope that helps!

-bill!
[EMAIL PROTECTED]   Have I been helpful?
http://newbreedsoftware.com/http://svcs.affero.net/rm.php?r=billkendrick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech