skillednerd Posted March 31, 2011 Share Posted March 31, 2011 I am able to get directory size of folder inside folders owned by me but I need to get folder size of a root owned folder. Is it possible to do this? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/232254-getting-directroy-size/ Share on other sites More sharing options...
Skewled Posted March 31, 2011 Share Posted March 31, 2011 Only as root, or if you set permissions for that folder for the root and the user. Link to comment https://forums.phpfreaks.com/topic/232254-getting-directroy-size/#findComment-1194787 Share on other sites More sharing options...
skillednerd Posted March 31, 2011 Author Share Posted March 31, 2011 Only as root, or if you set permissions for that folder for the root and the user. How do I give both root and user to have ownership of the folder? I thought only one user could own a file at a time. Link to comment https://forums.phpfreaks.com/topic/232254-getting-directroy-size/#findComment-1194790 Share on other sites More sharing options...
Skewled Posted March 31, 2011 Share Posted March 31, 2011 I don't know what OS your using. But a quick google check would probably give you the instructions. Link to comment https://forums.phpfreaks.com/topic/232254-getting-directroy-size/#findComment-1194791 Share on other sites More sharing options...
skillednerd Posted March 31, 2011 Author Share Posted March 31, 2011 Linux I will google and find out thanks! Link to comment https://forums.phpfreaks.com/topic/232254-getting-directroy-size/#findComment-1194792 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.