changing file permissions

Ted Gould plug-discuss@lists.plug.phoenix.az.us
23 May 2003 07:56:03 -0700


--=-AJBUKZFC+09oq6bBbLrq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2003-05-22 at 04:38, Rob Wultsch wrote:
> What is the commmand to change ownership of a directory on the command=20
> line? the man page for chmod is not very helpful.

I'm having this same problem, and I'm curious if it is not a VFAT
problem.  I just upgraded to Yellowdog 3.0, and I mounted my Compact
Flash card (which if VFAT).  Even thought I set the permission of the
directory, and I told mount what permissions everything should be, it
still defaulted to 744.  I'm still working on this, but it is mighty
annoying.  Here's some 'screenshots' :)

[root@davinci mnt]# mount -v -t vfat -o mode=3D755 -o user -o rw /dev/sda1
/mnt/usbfs/
/dev/sda1 on /mnt/usbfs type vfat (rw,noexec,nosuid,nodev,mode=3D755)
[root@davinci mnt]# ls -l
total 17
drwxr-xr-x    2 root     root         1024 May  6 23:05 cdrom
drwxr--r--    3 root     root        16384 Dec 31  1969 usbfs
[root@davinci mnt]#
[root@davinci mnt]# chmod +x usbfs/
chmod: changing permissions of `usbfs/' (requested: 0755, actual: 0744):
Operation not permitted
[root@davinci mnt]#

I'm also curious about the date in the root directory - it seems like
it's always reset to Dec 31 1969 (i.e. 0).  I'm curious if this is all a
bug in the VFAT module?

		--Ted

--=-AJBUKZFC+09oq6bBbLrq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA+zjaCLE335pRPGp0RAihZAKDSl+7Q4WKjFaXe3YQBzbS43srLAwCguQD+
MaVWX3S3ury8xdBoCYF5ZwQ=
=6JJb
-----END PGP SIGNATURE-----

--=-AJBUKZFC+09oq6bBbLrq--