Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync and permissions

Status
Not open for further replies.

admoore

IS-IT--Management
May 17, 2002
224
US
In Ubuntu

I have a cron task using rsync to backup a folder to another drive...

Someone in the office deleted a file from the source folder inadvertently...

I logged in via SSH but I get a permission denied when trying to access the backup.... Seems permissions aren't preserved in the backup?

I don't seem to remember this being an issue from the Ubuntu desktop GUI...

TIA...

-A
 
What rsync options are you using to create the backup? To preserve ownership and permissions you need to include the -o and -p options (or another option that automatically includes them, such as -a for example).

What are the source and destination filesystem types?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top