Search Results

Search: Posts Made By: mspaper
Forum: Programming 08-01-2008
8,241
Posted By mspaper
jim mcnamara, I didn't know much about this,...
jim mcnamara,

I didn't know much about this, so couldn't get what ramen_noodle was pointing to, thanks for elaborating.
So rm uses unlink.

Thanks.
Forum: Programming 07-31-2008
8,241
Posted By mspaper
Franklin52, Sufficient permissions are...
Franklin52,

Sufficient permissions are present to remove the files, copy etc.
I did capture, tmp and rc,
tmp is
rm -rf /usr/Dir_cp/* 2>>/usr/logs/audit080725
rc is 1.

This occurs...
Forum: Programming 07-30-2008
8,241
Posted By mspaper
system() fails
Hi,

I have the following code which fails with return value 1.

sprintf(tmp, "rm -rf %s/* 2>/dev/null\n", dest);
rc = system( tmp );
rc is 1

The files exist and the paths are correct. I...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy