Results 1 to 6 of 6

Thread: Firefox unable to create folders

  1. #1
    Join Date
    Aug 2007
    Location
    Michigan
    Beans
    137
    Distro
    Kubuntu 11.04 Natty Narwhal

    Question Firefox unable to create folders

    Hi,

    I am facing a weird problem. When I try to create a folder from firefox (while downloading stuff), it says "unable to create folder. permission denied." But when I create it using terminal (i.e. 'mkdir foo') it works.

    Firefox is running as the same user as the terminal, so shouldn't the two programs have the same permissions ?

    I am not sure why is firefox making my OS unhappy :-(

    Any help will be greatly appreciated.

    Thanks,

  2. #2
    Join Date
    Aug 2007
    Location
    Michigan
    Beans
    137
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Firefox unable to create folders

    UPDATE :

    I changed folder permissions to 777 but still no use

  3. #3
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Firefox unable to create folders

    If you are trying to create a folder on a separate hard drive, it might be the AppArmor profile limiting permissions. See AppArmor tutorial. Put Firefox in complain mode and try again.

  4. #4
    Join Date
    Aug 2007
    Location
    Michigan
    Beans
    137
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Firefox unable to create folders

    Thanks for the tip. This definitely looks like an apparmor issue.
    When I shutdown apparmor daemon, I was able to create the folders.
    I haven't been able to configure apparmor to allow my download folder.

  5. #5
    Join Date
    Aug 2007
    Location
    Michigan
    Beans
    137
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Firefox unable to create folders

    Thanks lovinglinux
    Finally reconfigured apparmor to allow access to certain folders.
    It's a pretty neat application.

    Just for documentation purpose :

    I inserted following line in /etc/apparmor.d/usr.bin.firefox, in the section where it configures user's personal files:
    Code:
    /foo/bar/MyDownloads/** rw

  6. #6
    Join Date
    Aug 2008
    Location
    Brazil
    Beans
    12,497
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Firefox unable to create folders

    Quote Originally Posted by akwatve View Post
    Thanks lovinglinux
    Finally reconfigured apparmor to allow access to certain folders.
    It's a pretty neat application.

    Just for documentation purpose :

    I inserted following line in /etc/apparmor.d/usr.bin.firefox, in the section where it configures user's personal files:
    Code:
    /foo/bar/MyDownloads/** rw
    You are welcome.

Tags for this Thread

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
  •