Then something is bugged:

mkfs.ntfs -f -v /dev/hda1
mount -t ntfs -o rw,gid=users,fmask=0000,dmask=0000

su - ccarson

[EMAIL PROTECTED]:/mnt > id
uid=1000(ccarson) gid=100(users) groups=16(dialout),33(video),100(users)

[EMAIL PROTECTED]:/mnt> cd /mnt/
[EMAIL PROTECTED]:/mnt> ls -la
total 12
drwxr-xr-x  3 root root  4096 2008-01-11 14:19 .
drwxr-xr-x 24 root root  4096 2008-01-12 06:35 ..
drwxrwxrwx  1 root users 4096 2008-01-12 12:45 data01

cd data01
[EMAIL PROTECTED]:/mnt/data01> mkdir test
mkdir: cannot create directory `test': Permission denied
[EMAIL PROTECTED]:/mnt/data01> touch test
touch: cannot touch `test': Permission denied

ccarson belongs to users and is trying to create a file/directory
underneath a directory with wide open perms. (0777)

Even root is now unable to create files under /mnt/data01, however
changing the permissions of /mnt/data01 at least now has the cosmetic
affect of getting changed:
ie:
hummer:/mnt/data01 # chmod 0700 /mnt/data01/ && echo $?
0
hummer:/mnt/data01 # ls -ld /mnt/data01/
drwx------ 1 root users 4096 Jan 12 12:45 /mnt/data01/

In the log I can see where it is using ntfs v3.1 which is what is
needed for Vista compatability (per the documentation anyway)

Anyone else get this to work...

-CC
On 1/12/08, Carlos E. R. <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> The Saturday 2008-01-12 at 10:52 -0600, Chuck wrote:
>
> > I have a 300g drive with a vfat filesystem (created with mkfs.vfat)
> > that I write files (well I want to write files to) to from both
> > opensuse 10.3 and windows vista. (dual boot config, this filesystem is
> > never mounted to both at once)
> >
> > However, when booted into opensuse only root can write to the
> > filesystem and chmod has no effect. (For example chmod 777
> > /mnt/data01/Documents (the mount point) appears to run successfully
> > because $? = 0, however the permissions are not changed)
>
> Yes, that's intentional.
>
> The only method to change the permissions is to change them at mount time,
> or editing the fstab file. By default files belong to the user that
> mounted it.
>
> For instance:
>
> /dev/hda1  /windows/C  vfat  
> noauto,users,gid=users,fmask=0117,dmask=0007,iocharset=iso8859-1,codepage=437 
>  0 0
>
>
> You can find more options in the mount manual.
>
>
> - --
> Cheers,
>         Carlos E. R.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
>
> iD8DBQFHiQdatTMYHG2NR9URAqJfAJ429ujiDvzXxcLuxuPKmZQkDdXqQQCfdvYU
> Oe58StFEFj3cHvCproRkpE4=
> =+fzt
> -----END PGP SIGNATURE-----
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Chuck Carson - Sr. Software Engineer
Galileo Educational Solutions
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to