How to get permissisions to remove directory in Mac OS X?

Joined
Sep 16, 2008
Messages
11
Reaction score
0
Points
1
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:)
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
what errors are you getting?
 

rman


Retired Staff
Joined
Dec 24, 2002
Messages
12,637
Reaction score
168
Points
63
Location
Los Angeles, California
Your Mac's Specs
14in MacBook Pro M1 Max 32GB 2TB
and what directory/folders are you trying to remove?
 
OP
N
Joined
Sep 16, 2008
Messages
11
Reaction score
0
Points
1
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
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
rm -Rf will do that too :)
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
Yes, interactive can be handy.. not so much for automated processes though :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top