Results 1 to 7 of 7

Thread: Lubuntu's default permissions

  1. #1
    Join Date
    Mar 2007
    Beans
    519
    Distro
    Ubuntu 10.04 Lucid Lynx

    Lubuntu's default permissions

    Lubuntu makes new folders and files as 775 and 664, whereas Ubuntu uses 755 and 644. Anyone happen to know why?

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Lubuntu's default permissions

    My guess would be differences in the file manager-Lubuntu uses PCManFM, whereas Ubuntu uses Nautilus.

  3. #3
    Join Date
    Mar 2007
    Beans
    519
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lubuntu's default permissions

    Actually, I /think/ that's a function of umask, and is independent of the manager. For instance when I use Dolphin on either machine, it follows suit with what seems to be the OS default.

  4. #4
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    Hidden!
    Distro
    Lubuntu Development Release

    Re: Lubuntu's default permissions

    Quote Originally Posted by ofb View Post
    Actually, I /think/ that's a function of umask, and is independent of the manager. For instance when I use Dolphin on either machine, it follows suit with what seems to be the OS default.
    My mistake then, just a hunch.

    Testing it, you are right. Hm...interesting!

  5. #5
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Lubuntu's default permissions

    I wonder if it is to do with the umask. This can be set in the login scripts or, I believe, in /etc/fstab.

    Check your fstab. I'm not at my computer right now, but when I am I'll have a look at the login scripts for Ubuntu and Lubuntu to try to spot where it is happening.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  6. #6
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    1,426

    Re: Lubuntu's default permissions

    My older Lubuntu version (11.04) creates permissions 755 (directories) and 644 (files), same as Ubuntu. So apparently a change was made in the defaults since then.

  7. #7
    Join Date
    Mar 2007
    Beans
    519
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Lubuntu's default permissions

    Aha -- it's an all-buntu thing, as of 11.10:

    http://www.mail-archive.com/ubuntu-d.../msg00628.html

    Their reason is to make sharing the filesystem easier. Makes sense, but people should be aware of the one downside I can think of -- when you upload to a website you'll need to change to 755/644.


    Minor curiosity - when I re-checked 11.10 and 12.04 just now, I noticed the default user folders like Documents, Music, etc are still 755 on both.


    Paddy Landau -- sorry I wasn't more clear. I wasn't after "how", but rather "why" this had been changed.


    (now I have to remember how to mark a thread as Solved. that'll be a minute.)

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
  •