Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
hi guys,
i tried rmdir -r /mnt/HD_a2/Data/Archive/<date here>
but the syntax is not working
can someone tell me what the syntax is as i need to delete a folder or two including all its contents in one fail swoop
cheers
Offline
hi guys,
figured it out, it was not rmdir .. it was actually
/ # rm -R /mnt/HD_a2/Data/ARCHIVE/2007-07-31
============
now a separate issue, is there a way i can chmod 777 from the root of the HD_a2 and apply that permission to ALL files and folders underneath it?
it seems that some files are being locked and doing this on individual files will take FOREVER as there is over 60k of files
cheers
Offline
fickle wrote:
i tried rmdir -r /mnt/HD_a2/Data/Archive/<date here>
Try "rm -r ..." which removes files and directories recursively.
Jaya
Offline
Hi, the command I use is rm -r /mnt/Hd_a2/xxx/ , but this is only working, if you have premission to do so. Being root does not mean, you have the right to remove a users directory, but it means, that you can guarant these rights, so check the rights with ls -l in the root directory of the dir you want to remove, and if needed give yourself full access (chmod a+rwx or make it yours, chown root.root) and afterwards rm -r should work...
Tóni
Offline
love these forums, cheers guys
Offline
"now a separate issue, is there a way i can chmod 777 from the root of the HD_a2 and apply that permission to ALL files and folders underneath it?"
You could easily... but you shouldn't!!! This would be a security risk. If you really want to do this there is a -R flag for chmod, i.e: chmod -R 777 *
Haydn.
Offline