Hi Gurus,
While running a cron job under root on AIX 5.2 (ksh), I am trying to create a directory under the ownership of another user of another group
something of this sort
/usr/bin/su - "user:group" -c "/usr/bin/mkdir -p /folder1/folder2/folder3/fol der4"
The problem is that the directories are not getting created. The issue is that the path may also have spaces in between, like fol der4.
Any suggestions to get over it ??
Thanks
philipose
While running a cron job under root on AIX 5.2 (ksh), I am trying to create a directory under the ownership of another user of another group
something of this sort
/usr/bin/su - "user:group" -c "/usr/bin/mkdir -p /folder1/folder2/folder3/fol der4"
The problem is that the directories are not getting created. The issue is that the path may also have spaces in between, like fol der4.
Any suggestions to get over it ??
Thanks
philipose