chmod issues

This is a discussion on chmod issues within the Tech Board forums, part of the Community Boards category; I am having issues with chmod. My Linux install is on an ext4 filesystem. I also have a fat32 filesystem ...

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738

    chmod issues

    I am having issues with chmod.

    My Linux install is on an ext4 filesystem. I also have a fat32 filesystem on the same disk. The fat32 filesystem is called "ARES".

    I have the fat32 filesystem mounted, and I want to change the permissions of some of the files/directories on it. So I navigate to the directory where I want to be:

    Code:
    $ cd /media/ARES
    From there I have a subdirectory called web with a single file index.html in it. I run the following command:

    Code:
    $ chmod -R 755 web
    index.html gets its file permissions changed correctly, but nothing happens to the web directory itself. I've even tried sudoing....and nothing...

    Is it something to do with the fact that it's a mounted fat32 filesystem? Why won't it let me change the permissions of the directory?
    My Website

    "Circular logic is good because it is."

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    Try the same thing on your ext3 file system.

    > $ chmod -R 755 web
    FAT32's idea of permissions is little more than "who's holding the keyboard". The group and world permissions are meaningless.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    Indeed it does work for both directories and files on my primary ext4 filesystem.

    I still find it strange that it works for files but not directories on the fat32 filesystem...weird...

    Anyways, I guess this means I'll have to change filesystems on that volume...lucky for me I just partitioned it yesterday, and there's only like 4 files on the whole thing, so it won't be a mess to do.
    My Website

    "Circular logic is good because it is."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I hate pointers or Pointer Issues
    By bolivartech in forum C Programming
    Replies: 9
    Last Post: 11-14-2009, 10:48 AM
  2. Error checking issues
    By mistymoon1966 in forum C Programming
    Replies: 7
    Last Post: 11-09-2009, 10:53 AM
  3. Preprocessor issues
    By sedontane in forum C++ Programming
    Replies: 4
    Last Post: 10-12-2009, 04:58 AM
  4. Issues with if statement
    By tameeyore in forum C Programming
    Replies: 7
    Last Post: 09-27-2004, 09:34 PM
  5. hexdump issues
    By daluu in forum C Programming
    Replies: 2
    Last Post: 03-04-2003, 08:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21