Results 1 to 7 of 7
  1. #1
    How to get permissisions to remove directory in Mac OS X?

    Member Since
    Sep 16, 2008
    Posts
    11
    Smile How to get permissisions to remove directory in Mac OS X?
    Hi all

    I am working on QT4.4 on my mac intel 10.4.11 machine..

    I am trying to remove directories recursively using Qt4.4 , but some of the dirs are still left, i dont understand why, whether they dont have permissions or something else, and also not able to remove the root dir, infact i m login as a root user.....who have all rights and permissions

    The piece of code is working fine for WINDOWS...I dont understand the reason why its not working in MAC.

    Pls help, if anybody is having any idea about this...., I wil be really greatful to u all

    regards
    neha

  2. #2
    How to get permissisions to remove directory in Mac OS X?
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    what errors are you getting?
    mike
    This machine kills fascists
    Got # ? phear the command line!

  3. #3
    How to get permissisions to remove directory in Mac OS X?
    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    and what directory/folders are you trying to remove?
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  4. #4
    How to get permissisions to remove directory in Mac OS X?

    Member Since
    Sep 16, 2008
    Posts
    11
    Thanks for all replies, Problem is solved.
    i am trying to remove empty folders, but the folders are not empty, they contain some hidden files that are generated by the MAC, now i am removing first that hidden files and after that empty folders........Sorry i thought i dont hav permissions.

    Regards
    neha

  5. #5
    How to get permissisions to remove directory in Mac OS X?
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    rm -Rf will do that too
    mike
    This machine kills fascists
    Got # ? phear the command line!

  6. #6
    How to get permissisions to remove directory in Mac OS X?
    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    Quote Originally Posted by Dysfunction View Post
    rm -Rf will do that too
    Or as Dysfunction suggested with the i option as in:

    rm -irf
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  7. #7
    How to get permissisions to remove directory in Mac OS X?
    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,821
    Specs:
    Way... way too many specs to list.
    Yes, interactive can be handy.. not so much for automated processes though
    mike
    This machine kills fascists
    Got # ? phear the command line!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Mac integration to Active Directory
    By Davit2005 in forum OS X - Operating System
    Replies: 1
    Last Post: 07-19-2011, 01:55 PM
  2. Macs not able to log onto Active Directory through Open Directory
    By lawrencm in forum OS X - Operating System
    Replies: 0
    Last Post: 04-26-2010, 06:10 AM
  3. Cannot Remove Directory - Driving Me Nuts
    By nbobbin in forum OS X - Operating System
    Replies: 1
    Last Post: 04-25-2010, 09:43 AM
  4. directory access, directory utility
    By macgig in forum OS X - Operating System
    Replies: 1
    Last Post: 08-30-2008, 12:29 PM
  5. Mac and Active Directory
    By dexbee in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 12-11-2004, 07:45 PM

Posting Permissions

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