Results 1 to 4 of 4

Thread: chmod doesn't work (says it does, but doesn't)

  1. #1
    Join Date
    Oct 2006
    Location
    Apex, NC USA
    Beans
    122
    Distro
    Ubuntu 9.10 Karmic Koala

    chmod doesn't work (says it does, but doesn't)

    What gives?

    Code:
    blake@servey486:/media/usb$ sudo chmod -v 777 *
    mode of `Chandler' changed to 0777 (rwxrwxrwx)
    mode of `Gardner' changed to 0777 (rwxrwxrwx)
    blake@servey486:/media/usb$ ls -al
    total 100
    drwxr-xr-x  4 root root 32768 2011-03-12 09:26 .
    drwxr-xr-x 12 root root  4096 2011-02-04 18:02 ..
    drwxr-xr-x  2 root root 32768 2011-03-12 09:26 Chandler
    drwxr-xr-x  2 root root 32768 2011-03-12 09:26 Gardner
    blake@servey486:/media/usb$
    If it makes a difference, this is a vfat USB drive on a headless ubuntu server (10.10).

    -NC_jed
    TriLUG, w00t!

  2. #2
    Join Date
    Apr 2007
    Beans
    3,114
    Distro
    Ubuntu

    Re: chmod doesn't work (says it does, but doesn't)

    You know that the vfat file system does not support Linux permissions? Like you, I would indeed expect an error message, though.

  3. #3
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: chmod doesn't work (says it does, but doesn't)

    File permissions for MS filesystems are set for the entire drive at mount time, there is some good info about in in this post somewhere http://ubuntuforums.org/showthread.php?t=283131

    edit: I remember something about chmod can be configured to either give errors or not when attempting on ms filesystems.... I'm on a windows machine atm so can't check.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  4. #4
    Join Date
    Oct 2006
    Location
    Apex, NC USA
    Beans
    122
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: chmod doesn't work (says it does, but doesn't)

    Quote Originally Posted by jerome1232 View Post
    File permissions for MS filesystems are set for the entire drive at mount time, there is some good info about in in this post somewhere http://ubuntuforums.org/showthread.php?t=283131

    edit: I remember something about chmod can be configured to either give errors or not when attempting on ms filesystems.... I'm on a windows machine atm so can't check.


    Thanks for the feedback, both of you. In the process of trying to figure out this issue, I lost sight in the fact that I'm setting this up as a network SAMBA share for a couple of Windows clients, so I suppose it's a moot point. For my Linux accesses, I can just Sudo it. Thanks for the feedback, though!

    - Jed
    TriLUG, w00t!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •