Results 1 to 2 of 2

Thread: Folder that always has 777 permissions?

  1. #1
    Join Date
    Jul 2008
    Location
    Alabama, USA
    Beans
    906
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Folder that always has 777 permissions?

    I have a folder that I would like to be completely a public directory. THat is, I want every file and subfolder to always have 777 or be treated as if it had 777 permssions.

    Only way I can think to do that is with a cron job to check it a couple times an hour. Is there as better way to do this?

  2. #2
    Join Date
    Jan 2007
    Location
    Ridgeland WI US
    Beans
    464
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Folder that always has 777 permissions?

    Change the default mask in /etc/profile
    $ sudo gedit etc/profile
    default is mask 022 -> all new files are 755
    change to mask 000 -> all new files are 777

    But that is global not just one folder.

    Roll Tide
    Gigabyte GA-MA790GPT-UD3H - AMD Phenom II x3 720 - 8 GB RAM - 2009 - My first PC from parts!

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
  •