Chmod only files or only directory
chmod 777 -d "!"
chmod 777 -f "!"
and i need it recursively,. the system disply me errors, what is the right instruction?
Regards
Claudio
Advertisement
Advertisement
What error?
Advertisement
Still I'm really not sure what you want to do. Please try to explain it in words, not in commands.Any idea to perform the same operation in another way?
Wouldn't it help if you disable Preserve read-only option?I automaticaly upload files from a Windows-folder to a Unix-folder because the files are updated in Windows and than ditributed with an Unix-HTTP-Server.
And sometimes i backup those files and burn them on CD.
Now i want to restore the Data and restore them to the Unix machine which could be problematic cause data on CD is read-only.
This means i must set all folders to 755 and oll files to 644.
And to be sure, i want to include this command in my upload-files-script.
Any idea how to do this?
Advertisement
You can post new topics in this forum